// warning it removes all your curent uncomited changes git rm -r --cached . git add . git commit -m ".gitignore is now working"