Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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