Created
March 15, 2015 21:24
-
-
Save sanusart/1ea582662d320e0db82d to your computer and use it in GitHub Desktop.
git remove file/dir from history #git
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 --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch DIR-OR-FILE' --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment