To rebuild the index file, you can try these two commands:
git reset # re-scan the working directory
git add -u # update the index
To rebuild the index file, you can try these two commands:
git reset # re-scan the working directory
git add -u # update the index