Skip to content

Instantly share code, notes, and snippets.

@vanya2h
Created March 7, 2019 11:32
Show Gist options
  • Save vanya2h/1b9dfdc50865ee34e674ff3a54f24d28 to your computer and use it in GitHub Desktop.
Save vanya2h/1b9dfdc50865ee34e674ff3a54f24d28 to your computer and use it in GitHub Desktop.
Clone with specific SSH key
ssh-agent bash -c 'ssh-add [path-to-key]; git clone [ssh-link-to-repository]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment