error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 2480 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
百度搜了下,说是缓存区的问题
1、加大缓存区
git config --global http.postBuffer 524288000
这个大约是500M
2、发现还是报错
git clone git地址 --depth 1
只下载最新一次提交的文件,不是整个历史版本
3、如果还是不行,可以换协议
clone http方式换成SSH的方式,