解决Git 克隆代码 The remote end hung up unexpectedly错误

从GitHub上克隆一个项目一直不成功!猜想可能是文件太大超时或者网络太慢超时!

 

解决方案:

配置

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 @ 2019-12-10 09:35  幕三少  阅读(8472)  评论(0编辑  收藏  举报