git报错,远程克隆和更新不下来解决方法

报错:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

解决方法:更改buffer大小
Git config --global http.postBuffer 524288000

需要注意的是http.postBuffer 后,单位是b,524288000B也就500M左右

猜你喜欢

转载自www.cnblogs.com/manhelp/p/11375468.html
今日推荐