Created
September 22, 2020 21:07
-
-
Save insane-dev/98ca35b3886a7438c5a71ae34051ab05 to your computer and use it in GitHub Desktop.
Per-repository SSH keys
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
# If you want to use different keys depending on the repository you are working | |
# on, you can issue the following command while inside your repository: | |
git config core.sshCommand "ssh -o IdentitiesOnly=yes -i ~/.ssh/private-key-filename-for-this-repository -F /dev/null" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment