remove gitignore files

Shell
git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"


// answer from: thSoftgit rm -r --cached .https://stackoverflow.com/questions/6964297/untrack-files-from-git-temporarilygit rm --cached <file>

git rm -r --cached <folder>git ls-files -i -z --exclude-from=.gitignore | xargs -0 git rm --cached
Source

Also in Shell: