Skip to content

Instantly share code, notes, and snippets.

@samsour
Created August 15, 2024 16:33
Show Gist options
  • Save samsour/0ac67882692f23fd74fdadefb65db7d9 to your computer and use it in GitHub Desktop.
Save samsour/0ac67882692f23fd74fdadefb65db7d9 to your computer and use it in GitHub Desktop.
git rebase -i <parent-commit-sha> -x "git commit --amend --reset-author -CHEAD"
@samsour
Copy link
Author

samsour commented Aug 15, 2024

One liner to change the author of multiple commits.

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