Git Eliminar todos los archivos de Gitignore
git ls-files -i --exclude-from=.gitignore | %{git rm --cached $_}
// works with windows powershell
Cold Shower Coding
git ls-files -i --exclude-from=.gitignore | %{git rm --cached $_}
// works with windows powershell
git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"
// answer from: thSoft
git rm --cached .gitignore -r