Skip to content

Instantly share code, notes, and snippets.

@winggundamth
Created August 25, 2017 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winggundamth/72a795d1aad9a1cceafb9f52f6a8e28e to your computer and use it in GitHub Desktop.
Save winggundamth/72a795d1aad9a1cceafb9f52f6a8e28e to your computer and use it in GitHub Desktop.
How to git clone with another ssh-key
GIT_SSH_COMMAND='ssh -i ~/.ssh/id_rsa_2' git pull
export GIT_SSH_COMMAND='ssh -i ~/.ssh/id_rsa_2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment