Created
August 25, 2017 11:48
-
-
Save winggundamth/72a795d1aad9a1cceafb9f52f6a8e28e to your computer and use it in GitHub Desktop.
How to git clone with another ssh-key
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
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