美文网首页
git clone时The remote end hung up

git clone时The remote end hung up

作者: 你慧快乐 | 来源:发表于2019-06-18 17:39 被阅读0次

windows:
在 .git/config 文件中加入

[http]
postBuffer = 524288000

linux或max执行命令:

git config http.postBuffer 524288000

如果还是不行,那可能是网络比较缓慢情况下,就断开了,执行以下命令:

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

增加最低速度时间,就可以了。

相关文章

网友评论

      本文标题:git clone时The remote end hung up

      本文链接:https://www.haomeiwen.com/subject/vhkqqctx.html