To remove an entry from the index, use a command like this: git update-index --force-remove Remove all entries from the index!