git clone时RPC failed; curl 18 transfer closed with outstanding read data remaining
Posted bbqshq
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git clone时RPC failed; curl 18 transfer closed with outstanding read data remaining相关的知识,希望对你有一定的参考价值。
git clone时报RPC failed; curl 18 transfer closed with outstanding read data remaining 错误
原因1:缓存区溢出
解决方法:命令行输入
git config http.postBuffer 524288000
执行上面命令如果依旧clone失败,考虑可能原因2:网络下载速度缓慢
解决方法:命令行输入
git config --global http.lowSpeedLimit 0 git config --global http.lowSpeedTime 999999
如果依旧clone失败,则首先浅层clone,然后更新远程库到本地
git clone --depth=1 http://gitlab.xxx.cn/yyy/zzz.git git fetch --unshallow
以上是关于git clone时RPC failed; curl 18 transfer closed with outstanding read data remaining的主要内容,如果未能解决你的问题,请参考以下文章
git clone 报错 RPC failed; curl 18 transfer closed with outstanding read data remaining
git clone 报错 RPC failed; curl 18 transfer closed with outstanding read data remaining
关于 用git clone 命令时报错RPC failed; curl 56 Recv failure....’ 的解决办法
git clone error:RPC failed; curl 18 transfer closed with outstanding read data remaining
git clone报错error: RPC failed; curl 18 transfer closed with outstanding read data remaining
使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaining问题