Home » Source Code Management ( SCM ) » Git » Solved git error – fatal: unknown index entry format 0x16700000

Solved git error – fatal: unknown index entry format 0x16700000

Recently we did one find and replace in our existing git using command mentioned at “Grep and replace string from source code using command in Linux” but this somehow broke our git and we got a following error when tried to do git status,

$ git status
fatal: unknown index entry format 0x16700000

Solution : This error can be resolved as,

$ rm -rf .git/index 
$ git reset

And now if you check git status, it will show the results as expected after recovering from above error.


Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment