Git出错:error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054

一、问题:

error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054

如图:

原因:远程仓库的文件过大,需要设置本地仓库大小

二、解决步骤:

1、首先输入如下命令:
git config http.sslVerify "false"

若出现下列错误:
git config http.sslVerify "false" fatal: not in a git directory
再继续执行 git config --globle http.sslVerify "false" 问题解决

2、文件大小的上限设置:
git config --global http.postBuffer 524288000

3、如果还是git代码还是下载失败,则需要继续修改git缓存的大小

你可能感兴趣的:(Git出错:error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054)