Created
April 20, 2022 11:43
-
-
Save pourmand1376/aaa519389734215cd8518c94d6b39ba3 to your computer and use it in GitHub Desktop.
Remove git file from all_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 --force --index-filter \ | |
| "git rm --cached --ignore-unmatch path/to/file" \ | |
| --prune-empty --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment