error: RPC failed;
curl 18 transfer closed with outstanding read data remaining fatal:
the remote end hung up unexpectedly fatal:
early EOF fatal: index-pack failed
是因为curl的postBuffer的默认值太小
把postBuffer的值配置成500M,可以根据你需要下载的文件大小,将postBuffer值配置成合适的大小。
git config --global http.postBuffer 524288000
根据以下命令查看postBuffer。
git config --list