其他分享
首页 > 其他分享> > git使用尝试

git使用尝试

作者:互联网

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

18367@LAPTOP-KSRU6PMI MINGW64 /
$ git config – global user.email “1624100415@qq.com”
fatal: not in a git directory

18367@LAPTOP-KSRU6PMI MINGW64 /
$ git config – globaluser.email “1624100415@qq.com”
fatal: not in a git directory

18367@LAPTOP-KSRU6PMI MINGW64 /
$ git config --global user.email “1624100415@qq.com”

18367@LAPTOP-KSRU6PMI MINGW64 /
$ git config --global user.name “Xkrasa”

18367@LAPTOP-KSRU6PMI MINGW64 /
$ git config --global --list
filter.lfs.clean=git-lfs clean – %f
filter.lfs.smudge=git-lfs smudge – %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
user.name=Xkrasa
user.email=1624100415@qq.com

18367@LAPTOP-KSRU6PMI MINGW64 /
$ cd E;\py
bash: py: command not found

18367@LAPTOP-KSRU6PMI MINGW64 /E
$ cd E;\py文件库
bash: cd: E: No such file or directory
bash: py文件库: command not found

18367@LAPTOP-KSRU6PMI MINGW64 /E
$ git init
Initialized empty Git repository in E:/.git/

18367@LAPTOP-KSRU6PMI MINGW64 /E (master)
$ git add ysf.py
fatal: pathspec ‘ysf.py’ did not match any files

18367@LAPTOP-KSRU6PMI MINGW64 /E (master)
$ git add ysf.py
warning: LF will be replaced by CRLF in ysf.py.
The file will have its original line endings in your working directory

18367@LAPTOP-KSRU6PMI MINGW64 /E (master)
$ git commit -m’约瑟夫’
[master (root-commit) c72c705] 约瑟夫
1 file changed, 50 insertions(+)
create mode 100644 ysf.py

18367@LAPTOP-KSRU6PMI MINGW64 /E (master)
$ git branch -M main

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git remote add origin https://github.com/Xkrasa/-

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin main
fatal: unable to access ‘https://github.com/Xkrasa/-/’: error setting certificate verify locations: CAfile: D:/我爱学习/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin Xkrasa
error: src refspec Xkrasa does not match any
error: failed to push some refs to ‘https://github.com/Xkrasa/-’

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin M mian
error: src refspec M does not match any
error: src refspec mian does not match any
error: failed to push some refs to ‘https://github.com/Xkrasa/-’

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin mian
error: src refspec mian does not match any
error: failed to push some refs to ‘https://github.com/Xkrasa/-’

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin main
fatal: unable to access ‘https://github.com/Xkrasa/-/’: error setting certificate verify locations: CAfile: D:/我爱学习/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ ^C

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git config --system http.sslverify false

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$ git push -u origin main

δ▒▒▒▒▒▒▒▒쳣: System.ComponentModel.Win32Exception: ▒▒Ч▒Ĵ▒▒ھ▒▒▒▒
▒▒ MS.Win32.ManagedWndProcTracker.HookUpDefWindowProc(IntPtr hwnd)
▒▒ MS.Win32.ManagedWndProcTracker.OnAppDomainProcessExit()
▒▒ MS.Internal.ShutDownListener.HandleShutDown(Object sender, EventArgs e)
warning: ┌──────────────── SECURITY WARNING ───────────────┐
warning: │ TLS certificate verification has been disabled! │
warning: └─────────────────────────────────────────────────┘
warning: HTTPS connections may not be secure. See https://aka.ms/gcmcore-tlsverify for more information.
warning: ┌──────────────── SECURITY WARNING ───────────────┐
warning: │ TLS certificate verification has been disabled! │
warning: └─────────────────────────────────────────────────┘
warning: HTTPS connections may not be secure. See https://aka.ms/gcmcore-tlsverify for more information.
To https://github.com/Xkrasa/-
! [rejected] main -> main (fetch first)
error: failed to push some refs to ‘https://github.com/Xkrasa/-’
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., ‘git pull …’) before pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push --help’ for details.

18367@LAPTOP-KSRU6PMI MINGW64 /E (main)
$

标签:尝试,git,KSRU6PMI,LAPTOP,MINGW64,18367,使用,main
来源: https://blog.csdn.net/Xkarsa/article/details/110331471