Created
December 3, 2015 15:00
-
-
Save stephenway/6f7adfb0bc9b0b2d0ecb to your computer and use it in GitHub Desktop.
Rewrite git author name and email
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 --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Josh Lee" ]; | |
then export GIT_AUTHOR_NAME="Hobo Bob"; export [email protected]; | |
fi; git commit-tree "$@"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment