Last active
May 16, 2024 07:22
-
-
Save TonyStark/6f872c881adb72f80bcf4b8bf929fe36 to your computer and use it in GitHub Desktop.
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 rm -rf --cached --ignore-unmatch .env" HEAD | |
git push --force | |
OR | |
git filter-branch --index-filter 'git rm --cached --ignore-unmatch .env' -- --all | |
git push -f origin <branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment