Last active
February 24, 2022 12:56
-
-
Save kostyanp95/b7366fbd792cce618aabe3d08b8a6fca to your computer and use it in GitHub Desktop.
How to remove file from all commits? | Как удалить файл из всех коммитов?
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 --force --index-filter "git rm --cached --ignore-unmatch config/secretFile.json" --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