Git error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remoy

原因1:缓存区 溢出

解决方法:命令行输入

git config http.postBuffer 524288000

执行上面命令如果依旧clone失败,在继续看下面

原因2:网络下载速度 缓慢

解决方法:命令行输入

git config --global http.lowSpeedLimit 0git config --global http.lowSpeedTime 999999

原因3:访问国外资料网络限制或者不稳定下载速度 缓慢

打开VPN是,一切OK

 
发布了4 篇原创文章 · 获赞 3 · 访问量 9976

猜你喜欢

转载自blog.csdn.net/ZHANG635891712/article/details/100517961