Created
November 9, 2023 13:14
-
-
Save luckydevilru/074e0f852e1a959b90f71622e4707c88 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment