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

转自:http://liucanwen.iteye.com/blog/2021601

 

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

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



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

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



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

你可能感兴趣的:(expect)