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

posted @ 2014-07-23 00:03  long2015  阅读(975)  评论(0编辑  收藏  举报