原文:执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: read error: Connection timed out"如何处理?

答: 改变仓库的地址 lt source code dir gt .git config中的 remote origin ,如: .git config中的 remote origin 如下: remote origin url git: git.kernel.org pub scm linux kernel git abelloni linux.git fetch refs heads :ref ...

2020-03-27 16:36 0 946 推荐指数:

查看详情

git clone的时候遭遇fatal: early EOF fatal: index-pack failed解决办法

一般这种情况都是因为项目分支过多,导致你要下载的东西太多,从而引起这个问题。网上有一个流传比较多的修改方案: 使用上述命令,来修改压缩模式,我尝试过了没有用。 引起这个问题的根源是文件过多,所以我们可以分批次下载文件,先下载一部分,再下载剩下的。以下就是我的解决方案: 首先关闭 ...

Thu Sep 05 23:03:00 CST 2019 0 726
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM