打开 gitbash执行 一下2行命令:

  第一种证书协议问题:git config --global http.sslVerify "false"

git config http.postBuffer 5242880003

 

ZHANGYUKUN@DESKTOP-EL6U9DC MINGW64 /c/work/sc (main)
$ git config http.sslVerify
false

ZHANGYUKUN@DESKTOP-EL6U9DC MINGW64 /c/work/sc (main)
$ git config http.postBuffer

ZHANGYUKUN@DESKTOP-EL6U9DC MINGW64 /c/work/sc (main)
$ git config http.postBuffer 5242880003

ZHANGYUKUN@DESKTOP-EL6U9DC MINGW64 /c/work/sc (main)
$ git config http.postBuffer
5242880003

ZHANGYUKUN@DESKTOP-EL6U9DC MINGW64 /c/work/sc (main)
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.

  

github 上传失败:OpenSSL SSL_read: Connection was reset, errno 10054_git

 

 

 

 

 

如果都还不能解决试试  token 或者证书登录