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方式

尝试成功。

原文地址:https://www.cnblogs.com/lucifer1997/p/11804076.html