Created
October 6, 2014 14:03
-
-
Save amccarty/b31b06e37d9db58bcb2c to your computer and use it in GitHub Desktop.
git filter-branch: replace string A with string B
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 '*.rb' -exec sed -i -e 's/stringA/stringB/g' {} \;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment