Fixing .gitignore is ignored by Git git rm -r --cached . git add . git commit -m "fixed untracked files"