Created
March 30, 2022 09:41
-
-
Save wotori/69fce6695ebbc94f6d5ab17d7b5b5015 to your computer and use it in GitHub Desktop.
delete file 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
git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch path_to_file' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment