Created
February 16, 2019 04:40
-
-
Save thexande/1893366c45716a1e9a0457ab2387e190 to your computer and use it in GitHub Desktop.
Replace string across entire version history
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 --tree-filter "find . -type f -exec sed -i -e 's/originalpassword/newpassword/g' {} \;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment