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

早上提交代码到 oschina代码库时,报了这个错误:
fatal: The remote end hung up unexpectedly


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

git config http.postBuffer 524288000


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

猜你喜欢

转载自liucanwen.iteye.com/blog/2021601