Git常见错误及解决办法收集
文章目录
git clone 错误
error: RPC 失败。curl 18 transfer closed with outstanding read data remaining
错误截图
可能原因1:缓存溢出
解决办法:
git config http.postBuffer 524288000可能原因2:下载速度太慢
解决办法
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999如果依然失败,可考虑先浅层次Clone,然后再完整fetch
git clone --depth=1 http://gitlab.xxx.cn/yyy/zzz.git
git fetch --unshallow
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论