Skip to content

Instantly share code, notes, and snippets.

@Antoine007
Antoine007 / handling_multiple_github_accounts.md
Created January 16, 2022 16:22 — forked from Jonalogy/handling_multiple_github_accounts.md
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes

### Keybase proof
I hereby claim:
* I am antoine007 on github.
* I am antoine007 (https://keybase.io/antoine007) on keybase.
* I have a public key ASANTgQjamk74FvXEthlrhNLHA4XozEU5a-_6VrlvV0rWAo
To claim this, I am signing this object:
$color: (
lightPrimary: #07C27C,
primary: #00AB6B,
darkPrimary: #167D51,
black: #2D2C2C,
lightGray: #949494,
white: #FFFFFF,
);
//Usage
https://stylepill-repo.herokuapp.com/page/component
/// Import button core styles
@import 'color';
/// VARIABLES
$btn-primary-font-color: map-get($color, primary);
$btn-primary-bg-color: rgba(0,0,0,0);
$btn-primary-border: 1px solid map-get($color, primary);
$btn-primary-font-color-hover: map-get($color, darkPrimary);