Bae push 出现 the remote end hung up unexpectedly...

Bae push 出现 the remote end hung up unexpectedly 解决方法


这主要是因为Git在进行HTTP Post提交文件的时候默认缓存大小为1M,而此次提交的Delta文件在压缩后的体积超过了缓存大小,高亮的代码行显示大小为7.50 MiB,所以提交失败。

解决办法很简单,把缓存调大即可,在代码目录下执行命令 git config http.postBuffer 524288000 把缓存大小设为500M。

你可能感兴趣的:(Bae push 出现 the remote end hung up unexpectedly...)