GIT Clone 代碼的時(shí)候 報(bào)錯(cuò) 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 默認(rèn)值較小的原因,配置下個(gè)這個(gè)值,就不會(huì)出現(xiàn)該錯(cuò)誤了.
git config --global http.postBuffer 524288000 大小如果不夠就繼續(xù)增加。
git config --list查看配置是否ok