Skip to content

Instantly share code, notes, and snippets.

@wilensky
Created December 23, 2024 12:47
Show Gist options
  • Save wilensky/79871c0847e50f68fab91c3816d7ffbf to your computer and use it in GitHub Desktop.
Save wilensky/79871c0847e50f68fab91c3816d7ffbf to your computer and use it in GitHub Desktop.
Reset git author for last 3 commits
git rebase --onto HEAD~3 --exec "git commit --amend --reset-author --no-edit" HEAD~3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment