Skip to content

Instantly share code, notes, and snippets.

Created August 10, 2010 18:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/0ac09d61ace38755cac1 to your computer and use it in GitHub Desktop.
git filter-branch --env-filter '
if [ "$GIT_COMMITTER_NAME" = "<Old Name>" ];
then
export GIT_COMMITTER_NAME="<New Name>";
export GIT_AUTHOR_NAME="<New Name>";
export GIT_COMMITTER_EMAIL="<New Email>";
export GIT_AUTHOR_EMAIL="<New Email>";
fi' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment