The index file has become corrupted, but it is easily re-creatable. Just remove it…
rm .git/index
Then you can re-add the files you’re trying to stage.
The index file has become corrupted, but it is easily re-creatable. Just remove it…
rm .git/index
Then you can re-add the files you’re trying to stage.