天天看點

git clone github上的項目失敗 RPC failed

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: the remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

原因:

git緩存區不足

解決辦法:

修改Git的傳輸位元組限制:

git config --global http.postBuffer  524288000