Skip to content

Instantly share code, notes, and snippets.

@erguotou520
Last active November 28, 2023 05:57
Show Gist options
  • Save erguotou520/5b0e3e14d590daefb0f445c5f4823a48 to your computer and use it in GitHub Desktop.
Save erguotou520/5b0e3e14d590daefb0f445c5f4823a48 to your computer and use it in GitHub Desktop.
git clone specify primary key
git -c core.sshCommand="ssh -i ~/.ssh/id_ed25519" clone git@xxx.xxx.xxx/xxx/xxx.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment