Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change commits author
git rebase -i HEAD~4 -x "git commit --amend --author 'Author Name <author.name@mail.com>' --no-edit"
@adefrutoscasado

This comment has been minimized.

Copy link
Owner Author

@adefrutoscasado adefrutoscasado commented Jan 16, 2021

For my git account:
git rebase -i HEAD~4 -x "git commit --amend --author 'Alejandro de Frutos <adefrutoscasado@gmail.com>' --no-edit"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment