git rm -r --cached . git add . git commit -m ".gitignore is now working" all git rm -r --cached . && git add . && git commit -m ".gitignore is now working"