git clone 报错

错误如下:
Cloning into 'server'...
remote: Enumerating objects: 11597, done.
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 config --global http.postBuffer 1024288000

如果实在是太慢可以加 --depth=1

http://yangguilin.com/?p=1562

posted @ 2019-04-20 14:27  stdpain  阅读(318)  评论(0编辑  收藏  举报