使用git clone error: RPC failed


git clone时,出现这个错误.


remote: Counting objects: 4592517, done.
remote: Compressing objects: 100% (1140430/1140430), done.
error: RPC failed; result=56, HTTP code = 2008.82 MiB | 4.72 MiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Solution:

修改Git的传输字节限制即可。

# git config --global http.postBuffer  524288000

你可能感兴趣的:(gerrit,Git)