Last active
December 16, 2015 20:11
-
-
Save luanlmd/18c6dbc4cc006f49ceed to your computer and use it in GitHub Desktop.
git remove old commit files
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
# change the 'filename.ext' part and run | |
git filter-branch -f --index-filter "git rm -r --cached --ignore-unmatch filename.ext" --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment