git fatal: The remote end hung up unexpectedly

提交git时候报这个错误

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly

解决办法:

  1. 可能是上传的文件太大导致的, 直接在git Bash上全局配置
git config --global http.postBuffer 524288000

# 或者增大一倍
git config --global http.postBuffer 1048576000

配置完发现还是报错, 接着进行安全配置

git config  --global  http.sslVerify "false"

大功告成!!

原文地址:https://www.cnblogs.com/codebook/p/13237524.html