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

打开 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)

  

 

 

 

 

 

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

posted on 2022-06-23 10:46  zhangyukun  阅读(87)  评论(0编辑  收藏  举报

导航