I was working on a branch and made several commits. git log looks like this:
commit drginrd45345eff34wfe... (HEAD -> peterdoe/my-new-branch)
Author: Peter Doe <peterdoe@xyzcom>
Date: Fri Jul 6 19:10:12 2021 +0200
update3
commit rey4tgrege45ge343rg...
Author: Peter Doe <peterdoe@peterdoe.dev.xyz.com>
Date: Thu Jul 5 18:12:43 2021 +0200
update2
commit 6745trge4te4t4t4t4g...
Author: Peter Doe <peterdoe@xyz.com>
Date: Thu Jul 5 11:21:12 2021 +0200
update1
I can not push my branch to open merge request as the author email on update2 is not the same as the other two commits. How can I update the author email for commit rey4tgrege45ge343rg to also be peterdoe@xyz.com, while changing nothing else so I can open my MR with all three commits?