Member-only story
Pushing to different accounts from the same computer
I wasted over an hour yesterday trying to figure out why I couldn’t push to a second github account. I already had a Github account for personal projects, but wanted a second, totally independent account, with a different username and email address, to push other work to.
I thought it would be relatively straightforward to do, but it turns out it wasn’t. For the benefit of anyone else trying to do the same thing, or if I simply forget how to do this again in the future and need a quick reference guide to save wasting more time googling, I’ll talk through how to set this up
We’ll refer to two accounts for the rest of this posting:
Personal
Github account: joebloggspersonal
Github username: joebloggspersonal
email: joebloggs2024@email.com
Business
Github account: supabiz
Github username: supabiz
email: info@supabiz.xyz
Assuming you have already registered two Github accounts, you would then proceed to create some ssh keypairs:
On windows 10/11, there is a built-in OpenSSH client.