Created
May 18, 2017 09:07
-
-
Save JackNUMBER/8255096e16261d5b3b694dfa61769385 to your computer and use it in GitHub Desktop.
git grep + sed replace
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 grep -l 'original_text' | xargs sed -i 's/original_text/new_text/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment