Git clone时出现fatal:the remote end hung up unexpectedly

以HTTPS方式进行git clone时出现如下错误:

 

方法1:增大缓存

  git config http.postBuffer 524288000  尝试无效;

 

方法2:配置git的最低速度和最低速度时间,单位(秒) 

  git config --global http.lowSpeedLimit 0

  git config --global http.lowSpeedTime 999999

多次尝试中有一次成功(原因未知)。

 

方法3:改用SSH方式

尝试成功。

 

posted on 2019-11-06 11:28  穷酸秀才大草包  阅读(2490)  评论(0)    收藏  举报

导航