Created
July 4, 2024 07:02
-
-
Save SakuraKoi/511b68d90e1cf9dfc5a58683f3abb406 to your computer and use it in GitHub Desktop.
reset all commit's author in a git repo
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 --root --exec "git commit --amend --no-edit --reset-author --allow-empty" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment