Git异常fatal:The remote end hung up unexpectedly

来源:互联网 发布:淘宝电子发票在哪里看 编辑:程序博客网 时间:2024/04/26 22:08

版本

$ git versiongit version 1.9.4.msysgit.2

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

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

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

解决办法

$ git config http.postBuffer 524288000
0 0
原创粉丝点击