错误信息
$ git clone https://github.com/apache/atlas.git
Cloning into 'atlas'...
remote: Enumerating objects: 117443, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (43/43), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 4979 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

解决方案
修改GIT缓存的大小为100M,如果依然报错,继续调大:
git config --global http.postBuffer 100M
本文介绍如何修复Git clone时遇到的错误,如RPC失败、Connection reset等问题,通过调整GIT缓存大小并提供具体配置步骤,帮助读者解决常见问题。
1055

被折叠的 条评论
为什么被折叠?



