git - fatal: Unknown index entry format

后端 未结 2 1592
盖世英雄少女心
盖世英雄少女心 2021-02-03 17:34

When I\'m trying use git status or git checkout master or git pull,

I\'m getting an error :-

2条回答
  •  天涯浪人
    2021-02-03 17:51

    When your index is broken you can normally delete the index file and reset it.

    rm -f .git/index
    git reset
    

    or you clone the repo again.

提交回复
热议问题