Created
October 23, 2017 23:21
-
-
Save dcapwell/af32b689dcf89ffbb6c5117e0f7fa1b6 to your computer and use it in GitHub Desktop.
Git remove file from history
This file contains hidden or 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 --index-filter 'git update-index --remove path/to/file/in/git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment