git revision control system

Specific actions

Changing the email address for commits in the repo

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

The last unpushed commit

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

git filter-repo --email-callback 'return email.replace(b"old@email.address", b"new@email.address")'
  • This destroys the origin ref pointer. Put it back, then force push:
git remote add origin ssh://what.evern/
git push -f