git untrack file

Shell
https://stackoverflow.com/questions/6964297/untrack-files-from-git-temporarilygit ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"


// answer from: thSoftgit rm -r --cached .
Source

Also in Shell: