错误实例
Cloning into 'xxx'...
remote: Enumerating objects: 1460, done.
remote: Counting objects: 100% (1460/1460), done.
remote: Compressing objects: 100% (875/875), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
问题解决
方法一:用压缩的方式进行下载
git config --global --add core.compression -1
方法二:.增大缓存大小
524288000表示增至500兆,1048576000表示增至1G
git config --global http.postBuffer 524288000
方法三:利用ssh下载
git clone git://github.com/XX/XXXX.git
方法四:安全设置问题
git config http.sslVerify "false"
评论(0)
暂无评论