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)
$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值