Skip to content

Instantly share code, notes, and snippets.

@sanjayts
sanjayts / work-with-multiple-github-accounts.md
Last active February 29, 2024 15:40 — forked from rahularity/work-with-multiple-github-accounts.md
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

The setup can be done in 5 easy steps:

Step 1

Create SSH keys for all accounts

First make sure your current directory is your .ssh folder.