Created
September 28, 2013 18:16
-
-
Save zerc/6744836 to your computer and use it in GitHub Desktop.
Переписываем историю своего гит репозитория
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 --tree-filter "find . \( -name 'filename1.py' -o -name 'filename2.sh' \) -exec sed -e \"s/password/fake_password/g\" -e \"s/api_key_secret/fake_key/g\" -i {} \;" HEAD --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment