原文:執行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