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
posted @ 2019-12-16 09:48  daviyoung  阅读(1992)  评论(0)    收藏  举报