使用Git pull文件时,出现"error: RPC failed; curl 18 transfer closed with outstanding read data rema
2021-02-14 06:19
标签:href etc http lob data global clone ted git fetch 出现以上错误有以下原因 使用git命令增大缓存(单位是b,524288000B也就500M左右) 使用git config --list查看是否生效 此时重新克隆即可 修改下载速度 使用Git pull文件时,出现"error: RPC failed; curl 18 transfer closed with outstanding read data remaining" 标签:href etc http lob data global clone ted git fetch 原文地址:https://www.cnblogs.com/alps/p/12995682.html
使用Git pull文件时,出现"error: RPC failed; 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
1.缓存区溢出curl的postBuffer的默认值太小,需要增加缓存
git config --global http.postBuffer 524288000
2.网络下载速度缓慢
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
3.以上两种方式依旧无法clone下,尝试以浅层clone,然后更新远程库到本地
git clone --depth=1 http://xxx.git
git fetch --unshallow
文章标题:使用Git pull文件时,出现"error: RPC failed; curl 18 transfer closed with outstanding read data rema
文章链接:http://soscw.com/essay/55121.html