Skip to content

Cheat Sheets

Pushing to multiple github accounts from the same machine

Sometimes one has to use several github accounts from the same machine (maybe one has a specific account for work, in addition of one's default hobby account), and when tryig to push from a local repo, there could be problems as git may not see the alternative account.

There are two areas that need configured deliberately for this setup to work: git config and SSH config.