git ignorar o rastreamento ainda
git rm --cached <file>
git rm -r --cached <folder>
Gorgeous Goldfinch
git rm --cached <file>
git rm -r --cached <folder>
git rm -r --cached .
git rm --cached <file>
git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"
// answer from: thSoft
git rm --cached `git ls-files -i -c --exclude-from=.gitignore`