错误如下:
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