Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change commits author
git rebase -i HEAD~4 -x "git commit --amend --author 'Author Name <>' --no-edit"
Copy link

adefrutoscasado commented Jan 16, 2021

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

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