GIT Clone 代码的时候 报错 curl 18 transfer closed with outstanding read data remaining

GIT Clone 代码的时候 报错 curl 18 transfer closed with outstanding read data remaining

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 默认值较小的原因,配置下个这个值,就不会出现该错误了.

git config --global http.postBuffer 524288000 大小如果不够就继续增加。

git config --list查看配置是否ok

你可能感兴趣的:(GIT Clone 代码的时候 报错 curl 18 transfer closed with outstanding read data remaining)