Created
April 13, 2021 02:27
-
-
Save bindiego/c6295e75308fe8b7aa6e93b45d2787b6 to your computer and use it in GitHub Desktop.
remove git history
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
#!/bin/bash | |
git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch <Path to File>" HEAD | |
git push --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment