Skip to content

Instantly share code, notes, and snippets.

@invalidred
Last active August 29, 2015 14:26
Show Gist options
  • Save invalidred/596ca806f17ab8919d34 to your computer and use it in GitHub Desktop.
Save invalidred/596ca806f17ab8919d34 to your computer and use it in GitHub Desktop.
To Rename Author's Email
git filter-branch --env-filter '
if [ "$GIT_COMMITTER_EMAIL" = "abdulkhan@abc.com" ];
then
GIT_COMMITTER_EMAIL="abdulkhan@abc.com";
fi
' -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment