Before you do this, be sure to git config user.email <email address>
.
git commit --amend --author="username <email address>"
This will rewrite a bunch of the history. Try not to do this on public repos that you share with others. From https://stackoverflow.com/a/60364176
git filter-repo --email-callback 'return email.replace(b"old@email.address", b"new@email.address")'
origin
ref pointer. Put it back, then force push:git remote add origin ssh://what.evern/ git push -f