Skip to content

Instantly share code, notes, and snippets.

@LuisAlejandro
Last active April 15, 2020 04:44
Show Gist options
  • Save LuisAlejandro/863572e6c92f906f20911f70bab34b8c to your computer and use it in GitHub Desktop.
Save LuisAlejandro/863572e6c92f906f20911f70bab34b8c to your computer and use it in GitHub Desktop.
This command will change all committer emails of all commits to the email you specify.
# This command will change all committer emails of all commits to the email you specify
# Change <email> to a valid email address
git filter-branch -f --env-filter "export GIT_AUTHOR_EMAIL='<email>'; export GIT_COMMITTER_EMAIL='<email>'" HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment