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