Git 的BUG小结

 Git 的BUG小结

Git 在push的时候出现了:

 

fatal: The remote end hung up unexpectedly

 

在网上找了非常多  发现出现了下面错误提示也可能是同样的问题:

error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

在网上查到的解决方法例如以下:

以上发生在push命令中。有可能是push的文件过大导致
解决方法:
windows:
在 .git/config 文件里增加
[http]
postBuffer = 524288000

linux:
git config http.postBuffer 524288000 

 

我依照网上提供的方式攻克了问题:

上图  进入git文件

 

打开config 文件 在里面填上:

 

 

就此攻克了

很感激网上分享解决方式的人们

谢谢

原文地址:https://www.cnblogs.com/lxjshuju/p/6731572.html