Forked from benzittlau/Remove From Git By Extension
Created
October 11, 2016 08:30
-
-
Save MEGApixel23/6887cd73ec81a5f178cbcfb892c13f67 to your computer and use it in GitHub Desktop.
Remove all *.swp files from a git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files | grep '\.swp$' | xargs git rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment