Created
September 22, 2018 17:42
-
-
Save kharmabum/72fe79ba55d72ccd59c1c72d2eefb650 to your computer and use it in GitHub Desktop.
Recursively remove all files of filetype .foo from the repo:
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 filter-branch --tree-filter 'git rm -r -f --ignore-unmatch *.foo' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment