git clone报错 early EOF The remote end hung up unexpectedly index-pack failed RPC failed


git  clone报错 early EOF The remote end hung up unexpectedly index-pack failed RPC failed

 

 

 

解决方案

https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed

First, turn off compression:

git config --global core.compression 0
1
Next, let’s do a partial clone to truncate the amount of info coming down:

git clone --depth 1 <repo_URI>
1
When that works, go into the new directory and retrieve the rest of the clone:

git fetch --unshallow
1
or, alternately,

git fetch --depth=2147483647
1
Now, do a regular pull:

git pull --all
1
I think there is a glitch with msysgit in the 1.8.x versions that exacerbates these symptoms, so another option is to try with an earlier version of git (<= 1.8.3, I think).


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM