Created
April 24, 2012 02:57
-
-
Save ypresto/2475822 to your computer and use it in GitHub Desktop.
Change author and committer and their emails of all commits in the branch on Git
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 ' | |
GIT_AUTHOR_NAME="Yuya Tanaka"; | |
GIT_AUTHOR_EMAIL="yuya.tanaka.i@gmail.com"; | |
GIT_COMMITTER_NAME="Yuya Tanaka"; | |
GIT_COMMITTER_EMAIL="yuya.tanaka.i@gmail.com"; | |
git commit-tree "$@";' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment