git clone 时出现这个错误
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
ffatal: early EOF
atal: The remote end hung up unexpectedly
fatal: index-pack failed
解决方法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
First, turn off compression: git config --global core.compression 0 Next, let's do a partial clone to truncate the amount of info coming down: git clone --depth 1 <repo_URI> When that works, go into the new directory and retrieve the rest of the clone: git fetch --unshallow or, alternately, git fetch --depth=2147483647 Now, do a regular pull: git pull --all |