git克隆错误:
fatal: The remote end hung up unexpectedly
原因可能是网速慢,文件大。可以尝试以下措施:
将Http缓存设置大一些,比如1G:
git config --global http.postBuffer 1048576000,或者3G 3194304000
设置git最低速度
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 99999
不知道你这个问题是否已经解决, 如果还没有解决的话:原文地址:
http://blog.tachmiao.com/?id=98在公司可能因为网络波动的原因,使用git总是down了一半多就报错:
fatal: the remote end hung up unexpectedlyMiB | 8.00 KiB/s
fatal: early EOF
fatal: index-pack failed
在网上找到了解决办法,如下:
修改git配置:
//httpBuffer加大
git config --global http.postBuffer 524288000
//压缩配置
git config --global core.compression -1
//修改配置文件
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1