天天看點

【錯誤處理】fatal: The remote end hung up unexpectedly,early EOF,index-pack failed

報錯

iOS開發,pod isntall,更新pod庫,報錯

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
           

解決

1. cd到.gitconfig目錄,一般為終端預設目錄

2. $ ls -a,有.gitconfig的話,$open .gitconfig

3. 添加(或更新)配置

[core]
     compression = -1
           

4. 重新執行

pod install