git push失败the remote end hung up unexpectedly

Git Push是老是失败,提示:

fatal: the remote end hung up unexpectedly
git did not exit cleanly (exit code 1)

原来是文件Push文件太大引起。
解决方法:
windows:
在 .git/config 文件中加入
[http]
postBuffer = 524288000

linux:
git config http.postBuffer 52428800

原文地址:https://www.cnblogs.com/long2015/p/3861806.html