How to resolve “Error: bad index Fatal: index file corrupt” in Git
Answers
beginer
1544
Points
52
Posts
|
You can simply remove the index (i.e. .git/index) (make a backup copy if you want), and then restore index to version in the last: If you are using Git Bash use following commands:
Posted On:
02-Oct-2018 08:02
|
Rashmi
1068
Points
19
Posts
|
First remove the index (i.e. .git/index) (make a backup copy if you want), and then restore index to version in the last commit: On OSX/Linux:
On Windows:
Posted On:
05-Oct-2018 20:08
Thanks - Smith 27-May-2019 05:18
|
Blog
Active User (0)
No Active User!