Remove git files with globbing

A simple trick. If you want to remove all the ‘.swp’ files from a git repository, just use:

1
git rm --cached '**.swp'
Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy