Last active
December 16, 2021 18:56
-
-
Save soanvig/8a926f7be5c8a155bf819bf6e13223c4 to your computer and use it in GitHub Desktop.
Git: rename words in all commits without resolving conflicts again
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 -f --msg-filter 'cat "$@" | sed \'s/FOO/BAR/g\'' -- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment