Tutorial Multiple GitHub accounts on Mac OSX

If you followed these suggestions to setup multiple GitHub accounts on Mac OSX:

https://stackoverflow.com/questions/3860112/multiple-github-accounts-on-the-same-computer

...and struggled for hours.

Here is what you are missing: you need to add the new ssh key to OSX keychain

ssh-add -K github-other-account

You do not need to erase the keychain credentials as in the link below, these are for HTTPS which were deprecated by GitHub.

https://stackoverflow.com/questions/31351359/how-to-log-out-of-one-github-account-and-use-another-account/31351376#31351376

Developed with ❤️ by Aska