討論群:309800774 知乎關注:http://zhihu.com/people/sunicdavy 開源項目:https://github.com/davyxu
感謝這位的博客提供的解決方法
http://www.lszhang.com/topics/git-push-%E6%97%B6%E5%87%BA%E7%8E%B0-remote-fatal-early-eof-%E9%94%99%E8%AF%AF
修改 GIT 的本地 config 文件,在 core 中加入:
compression = -1
這里是在clone方處理
windows git目錄在c:\Program Files (x86)\Git\etc\gitconfig中
其他輔助方法參考http://git.661346.n2.nabble.com/Large-pack-causes-git-clone-failures-what-to-do-td5481488.html
git repack --max-pack-size=100m -a -d
Powered by: C++博客 Copyright © 戰魂小筑