If you create a file like "abc.txt", commit it, then create a gitignore to ignore that file, this file will keep being part of the repository. So a solution like "removed ignored files" should be great.
It could be done automatically, like an suggestion to user just remove a new ignored file from repository, or as a tool option (via menu).
It basically do that:
git rm -r --cached . git add .
Customer support service by UserEcho