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

上一篇:安装Masonry时出现fatal error


下一篇:git 推送出现 ";fatal: The remote end hung up unexpectedly"; 解决方案