Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Переписываем историю своего гит репозитория
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
You can’t perform that action at this time.