git報(bào)錯(cuò)如下:
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
經(jīng)過查詢資料了解:
錯(cuò)誤原因:git的curl的postBuffer默認(rèn)值較小
解決方法:
修改git傳輸字節(jié)限制
git config –global http.postBuffer 524288000