Created
April 10, 2018 02:29
-
-
Save pauloromeira/84de6a3e8531cb3d6e17f9a6e1308313 to your computer and use it in GitHub Desktop.
Replace string in all Git history.
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 '*.*' -exec sed -i '' -e 's/OLDSTRING/NEWSTRING/g' {} \;" -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment