Skip to content

Instantly share code, notes, and snippets.

@glidenote
Created July 23, 2012 03:13
Show Gist options
  • Save glidenote/3161853 to your computer and use it in GitHub Desktop.
Save glidenote/3161853 to your computer and use it in GitHub Desktop.
git filter-branch
git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_NAME" = "maeda" ];
then
GIT_AUTHOR_NAME="Akira Maeda";
GIT_AUTHOR_EMAIL="[email protected]";
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