git-cheatsheet
git-cheatsheet copied to clipboard
Making git "forget" about all files that are already tracked but are in .gitignored
http://stackoverflow.com/a/19095988/709769
Remove all files from repo:
git rm -r --cached .
Re-add all files:
git add .
then
git commit -am "Remove ignored files"