git提交报异常,fatal: The remote end hung up unexpectedly

早上提交代码到 oschina代码库时,报了这个错误: 

Java代码  收藏代码
  1. fatal: The remote end hung up unexpectedly  



上网找了一下原因,各种答案都有,也是哈,这个提示太叼了,没有说明哪一部分有问题。 
最后这个答案帮了我解决问题了。 

Java代码  收藏代码
  1. git config http.postBuffer 524288000  



我的问题估计是上传文件太大导致的。

原文地址:https://www.cnblogs.com/muhuacat/p/7049753.html