Created
April 10, 2011 23:57
-
-
Save MichaelBlume/912867 to your computer and use it in GitHub Desktop.
rename a comitter (works with AUTHOR in place of COMITTER, of course)
This file contains hidden or 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 --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "name" ]; | |
then | |
GIT_COMMITTER_NAME="New Name"; | |
GIT_COMMITTER_EMAIL="[email protected]"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment