Created
July 23, 2013 07:56
-
-
Save jvorcak/6060613 to your computer and use it in GitHub Desktop.
How to change author of old commits
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" = "Jan Vorcak" ]; | |
then export GIT_AUTHOR_NAME="Jan Vorcak"; 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