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.

Revisions

  1. samsour created this gist Aug 15, 2024.
    1 change: 1 addition & 0 deletions reset-author-of-multiple-commits.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    git rebase -i <parent-commit-sha> -x "git commit --amend --reset-author -CHEAD"