Created
August 18, 2017 10:40
-
-
Save julesjans/5ba7a2ca23222db8c276b3c43a063e10 to your computer and use it in GitHub Desktop.
Remove a file from GIT 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 --force --index-filter 'git rm --cached --ignore-unmatch FILE_TO_DELETE' --prune-empty --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment