Skip to content

Instantly share code, notes, and snippets.

View LeoHChen's full-sized avatar
💭
busy building blockchain

Leo Chen LeoHChen

💭
busy building blockchain
View GitHub Profile
@LeoHChen
LeoHChen / handling_multiple_github_accounts.md
Created July 9, 2021 18:33 — 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

$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs tmpfs 1.6G 776K 1.6G 1% /run
/dev/nvme0n1p1 ext4 291G 64G 228G 22% / <-- Notice how TYPE is ext4
# Go on AWS and use InstanceID to get to EBS storage, then increase the EBS storage.
# Once done, do the following
# check to make sure EBS upgrade is done with