
网络原因导致git下载报错处理办法
如果排除缓存区大小的问题,可能为网络原因,需做如下设置。再次尝试git clone,就可以了。
·
如下,git clone时报错:
RPC failed; curl 18 transfer closed with outstanding read data remaining 5670 bytes of body
are still expected fetch-pack: unexpected disconnect while reading sideband packet early EOF fetch-pack:
invalid index-p
如果排除缓存区大小的问题,可能为网络原因,需做如下设置
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
再次尝试clone,就可以了。
ps:如果是缓存区问题,做如下设置:
git config http.postBuffer 524288000
更多推荐
所有评论(0)