git clone大文件错误

错误:

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 clone http://github.com/large-repository --depth 1
cd large-repository
git fetch --unshallow

你可能感兴趣的:(git clone大文件错误)