git "fatal: The remote end hung up unexpectedly"

方法一:修改提交缓存大小

git config --global http.postBuffer 524288000
# some comments below report having to double the value:
git config --global http.postBuffer 1048576000

或者在克隆/创建版本库生成的 .git目录下面修改生成的config文件增加如下:

[http]  
postBuffer = 524288000

然后重新git clone

方法二:配置git的最低速度和最低速度时间

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

--global配置对当前用户生效,如果需要对所有用户生效,则用--system

转载于:https://blog.csdn.net/weixin_38450840/article/details/80701173
https://www.cnblogs.com/0xcafebabe/p/11460054.html

原文地址:https://www.cnblogs.com/swifthao/p/12760396.html