Created
January 27, 2020 09:41
-
-
Save anjanashankar9/44c321c7d6af1620d185cd6836e27b6d to your computer and use it in GitHub Desktop.
Multiple github accounts 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default GitHub | |
Host personal-github.com | |
HostName github.com | |
User git | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa_personal | |
# Work GitHub | |
Host github.com | |
HostName github.com | |
User git | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment