Skip to content

Instantly share code, notes, and snippets.

@josh-m-sharpe
Created March 24, 2023 19:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save josh-m-sharpe/0a62b9cbfc1aca9af3626bdbde5454e6 to your computer and use it in GitHub Desktop.
~/.ssh/config
Match host github.com exec "git config user.email | grep some@email.com"
IdentityFile ~/.ssh/id_rsa.foo1
Host github.com
IdentityFile ~/.ssh/id_rsa.foo2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment