赞
踩
git clone 出现的错误:
remote: Counting objects: 1111, done.
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
原因:git 库源文件过多,修改下默认值即可。curl的postBuffer 默认值较小,配置下个这个值,就OK了!
配置如下:
$ git config --global http.postBuffer 24288000
$ git config --list
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。