Loading

解决Git 克隆代码 The remote end hung up unexpectedly错误 从GitHub上克隆一个项目一直不成功!猜想可能是文件太大超时或者网络太慢超时!

最近从github上面克隆项目出现超时现象:

解决方案:

1.配置

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

增加最低速时间,but,还是不行!

继续修改

2、httpBuffer加大    

git config --global http.postBuffer 524288000

3、压缩配置

git config --global core.compression -1    
posted @ 2022-08-28 17:54  只要AD钙奶  阅读(214)  评论(0)    收藏  举报