Answers for "git specify ssh key for repo"

2

git clone ssh key

ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone [email protected]:user/project.git'
Posted by: Guest on October-02-2020
1

git specify ssh key for repo

# Add this to ~/.ssh/config
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
Posted by: Guest on February-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language