Skip to content

Instantly share code, notes, and snippets.

@cjurjiu
Last active July 28, 2018 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjurjiu/c2d76da49ce75941a4834fab753d088d to your computer and use it in GitHub Desktop.
Save cjurjiu/c2d76da49ce75941a4834fab753d088d to your computer and use it in GitHub Desktop.
Change git author
#!/usr/bin/env bash
# Changes the git author string of commits commited by author defined at <from> to the
# string defined at <to>.
#
# Make sure to edit the initial & desired authors to fit your needs, before running.
#
# <from> <to>
git change-commits GIT_AUTHOR_EMAIL "user@domain.com" "cjurjiu@users.noreply.github.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment