Skip to content

Instantly share code, notes, and snippets.

@eirikb eirikb/gist:1231414

Created Sep 21, 2011
Embed
What would you like to do?
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
You can’t perform that action at this time.