How to remove files from git that have been added to gitignore ⇥ git rm -r --cached . git add . git commit -am "Remove ignored files" link