GIT remove ignored files

Remove ignored files using git without removing local copy

git rm -r --cached .

git add .

git commit -am "Remove ignored files"