Created
July 16, 2020 03:03
-
-
Save antfu/93b9f7b8b1044a0495052bbde227e9dc to your computer and use it in GitHub Desktop.
Git remove files from all history
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 -f --index-filter 'git rm --cached --ignore-unmatch example.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment