【錯誤處理】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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章