.gitignore not working

git rm -r --cached . git add . git commit -m "fixed untracked files"