您的位置:首页 > 其它

Git异常fatal:The remote end hung up unexpectedly

2016-10-18 21:50 489 查看

版本

$ git version
git version 1.9.4.msysgit.2


今天提交本地代码到coding上的时候,出现了一个异常,导致代码无法正常push

Unable to rewind rpc post data  - try increasing http.postBuffer
error RPC failed;result=56,HTTP code = 0
fatal:The remote end hung up unexpectedly


仔细看错误日志可以发现,是http提交大文件导致http postbuffer溢出,将postbuffer改大即可。

解决办法

$ git config http.postBuffer 524288000
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git