Rewrite all commits with a new committer and author information.
Set desired committer/author information
git config user.name <username>
git config user.email <email>
Update all commits with desired committer/author information
git rebase -i --root --exec 'git commit --amend --reset-author --no-edit' # (1)
-
Mark all commits as
e
oredit