错误信息
$ 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