How to resolve “Error: bad index – Fatal: index file corrupt” when using Git?

From time to time you could receive error using Git like this:

$ git status
error: bad index file sha1 signature
fatal: index file corrupt



  1. Delete file “.git/index” from your project parent directory.
  2. Execute git reset command from terminal.

Leave a Reply

Your email address will not be published. Required fields are marked *