git-change-history

Change email addresses in commits

See GitHUb help - Changing author info

Rebase

Rebase off previous commit

git rebase -i xyz

Change pick to edit and then to change the user to the current user

git commit --amend

or to change to another user

git commit --amend --author="A Name <[email protected]>"
    

Then finish off the rebase

git rebase --continue   

And force push

git push -f
Thanks