Created
August 24, 2013 21:14
-
-
Save brantfaircloth/6330447 to your computer and use it in GitHub Desktop.
Remove file permanently from 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
# blackhole the content | |
git filter-branch --tree-filter 'rm -rf my/folder' HEAD | |
# force the update | |
git push origin master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment