Skip to content

Instantly share code, notes, and snippets.

@joje6
joje6 / git-specify-ssh-key
Created August 8, 2017 04:36 — forked from gskielian/git-specify-ssh-key
Specifying SSH Key within Git Clone
#how to specify an ssh key to use when cloning a repo in Mac
ssh-agent bash -c 'ssh-add /Users/UR_USERNAME/.ssh/UR_PRIVATE_KEY; git clone git@DAS_GIT_URL'