If you accidentally used your personal email (or an embarrassing username) in your git commits on a public repo like me, here's a quick fix.
But before you start, please note this is only for simple repos without (active) collaborators. Modifying git commmit history on remote can break things for your collaborators.
We'll use the powerful git-filter-repo tool.
- Install git-filter-repo, e.g.
brew install git-filter-repo.