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