Skip to content

Instantly share code, notes, and snippets.

@anandjagadeesh
Created July 2, 2020 19:51
Show Gist options
  • Save anandjagadeesh/bde2495e979d84659c2ee8c94c4792c4 to your computer and use it in GitHub Desktop.
Save anandjagadeesh/bde2495e979d84659c2ee8c94c4792c4 to your computer and use it in GitHub Desktop.
Change Author For A Commit

To change the author of a commit, give

git -c user.name="<authorname>" -c user.email=<author_email> <commithash> --amend --reset-author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment