I have a personal account and a working github account, and I want to be able to push and pull depending on what I need.
Github won't let me use the same SSH key for both accounts, so how do I play this?
If I try to generate another SSH key, it will either overwrite the old one or not create a new one - should I just save it, say, in ~ / .ssh / id_rsa2?
And will I need to change the username and email address in my .gitconfig file every time I want to switch users, or can I specify multiple users there?
Simply put, what's the best (or any!) Way to manage multiple github accounts from the same machine?
source share