fatal: index file corrupt
This came up in my project so I first tried this advice which got me only in more trouble.
After that I tried some stuff that is written here.
That got too complicated for me so i just run
Code: Select all
git reflog
I then reset git to second commit from end with
Code: Select all
git reset --hard commitnumber
My project is on external data storage drive so i just run
Code: Select all
chkdsk