I have 2 GitHub accounts, let us call them g1 and g2.
I am mostly actively developing on g2 now. However, I realized today that even though I am committing and pushing to the correct repo in g2, the g2's repos somehow show that g1 is a contributor and most commits are made by g1.
I checked git config --list --show-origin and my git config's user.email is set to my old g1's email and I suspect that is the cause. I hope someone can enlighten me on this.
What is the correct way to rectify this? It certainly seems odd to have most commits made by my old account ... though thankfully the "name" of g1 is also my real name.