Created
December 4, 2019 23:06
-
-
Save jebrial/a0c85ecc8db24ebed93b9f9d7d4e69c1 to your computer and use it in GitHub Desktop.
Overwrite commit author for commits of a specific branch starting from a specific commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rebase --onto COMMIT_HASH_BEFORE_FIRST_TO_OVERWRITE --exec "git commit --amend --author=\"Author Name <user@email.com>\"" COMMIT_HASH_BEFORE_FIRST_TO_OVERWRITE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment