天天看点

【错误处理】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