Created
July 21, 2016 12:07
-
-
Save jdye64/2d7b2d796ae033026afb7e8261b879eb to your computer and use it in GitHub Desktop.
Deletes a file completely from the git history allowed you to remove large files that cannot be pushed to remote git repo
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 --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment