- git版本:2.18.0;
- 系统:windows 10;
在执行git clone命令时报错:fatal: early EOF。解决办法如下:
1.关闭压缩
git config --global core.compression 0
2.然后执行部分clone
git clone --depth 1 <repo_URI>
其中https://github.com/dyc87112/SpringBoot-Learning.git
。
3.如果起作用了,clone剩下的代码:
git fetch --unshallow
4.以后执行常规操作就行了
git pull --all
出错原因应该是git版本的问题,msysgit版本1.8.x导致的,因此另一个解决的办法是使用git早起版本,比如git 版本小于1.8.3。
转载自:https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
- 最新
- 最热
只看作者