git pull with ssh key

FindHao 2月前 42


ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone [email protected]:user/project.git'

https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git

最新回复 (0)
全部楼主
返回