Table of Contents

git revision control system

Specific actions

Changing the email address for commits in the repo

Before you do this, be sure to git config user.email <email address>.

The last unpushed commit

snippet.bash
git commit --amend --author="username <email address>"

All commits

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

snippet.bash
git filter-repo --email-callback 'return email.replace(b"old@email.address", b"new@email.address")'
snippet.bash
git remote add origin ssh://what.evern/
git push -f