Created
September 21, 2011 06:40
-
-
Save eirikb/1231414 to your computer and use it in GitHub Desktop.
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 --commit-filter ' | |
if [ "$GIT_AUTHOR_NAME" = "eirikb@heavyload" ]; | |
then | |
GIT_COMMITTER_NAME="<Eirik Brandtzæg>"; | |
GIT_AUTHOR_NAME="<Eirik Brandtzæg>"; | |
GIT_COMMITTER_EMAIL="<eirikb@eirikb.no>"; | |
GIT_AUTHOR_EMAIL="<eirikb@eirikb.no>"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment