Instantly share code, notes, and snippets.
First:
git rm -r --cached . git add .
Then:
git commit -am "Remove ignored files"