Git 报错如下:
- error: RPC failed; result=18, HTTP code = 200| 2.00 KiB/s
- fatal: The remote end hung up unexpectedly
- fatal: early EOF
- fatal: index-pack failed
经过查询资料了解:
错误原因: Git 的 curl 的 postBuffer 默认值较小
解决方法:
修改 Git 传输字节限制
Git config -global http.postBuffer 524288000
来源: http://www.jianshu.com/p/2fa5f99b4772