Resync git repo with new gitignore file-open source projects github/gitignore
gracchus
I might misunderstand, but are you trying to delete files newly ignored or do you want to ignore new modifications to these files ? In this case, the thing is working.
If you want to delete ignored files previously commited, then use
git rm –cached `git ls-files -i –exclude-standard
git commit -m 'cleanup'