2022/02/04最新办法

Git默认限制推送的大小
更改限制大小可解决!

git config --global http.postBuffer 524288000

以下是之前的办法,治标不治本,有时候能行有时又不行

解决Git提交代码报错

(OpenSSL SSL_read: Connection was reset, errno 10054)
fatal: unable to access 'https://github.com/xxx.git/': OpenSSL SSL_read: Connection was aborted, errno 10053
git 提交代码报错(OpenSSL SSL_read: Connection was reset, errno 10054)

可能原因:

首先,造成这个错误很有可能是网络不稳定,连接超时导致的,
如果再次尝试后依然报错,可以执行下面的命令。

解决方法:

  1. 双击打开:git-cmd.exe
git config --global --unset http.proxy
git config --global --unset https.proxy

OR
更改网络认证设置

git config --global http.sslVerify "false"

OR
增加缓冲

git config http.postBuffer 524288000

相关文章:

  • 2021-11-16
  • 2021-11-30
  • 2022-12-23
  • 2021-11-02
  • 2021-07-13
  • 2021-05-24
猜你喜欢
  • 2022-02-08
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案