Git failed with a fatal error
Posted: March 26th, 2019, 9:39 pm
error: bad signature
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 in repo directory and it churned out all my commits and their numbers.
I then reset git to second commit from end withIt did return my code to normal however corrupt release folder in x64 stayed corrupt.
My project is on external data storage drive so i just runon it and it solved the remaining issue.
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