git fatal: early EOF fatal: index-pack failed

經常遇到這個問題,mark一下。
參考:stackflow:fatal: early EOF fatal: index-pack failed

git config --global core.compression 0

git clone --depth 1 <repo_URI>

git fetch --unshallow 

git pull --all

這個對我來說是有效的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章