- 使用
git clone
命令时指定 ssh 的 key 文件: 参考:https://www.cnblogs.com/azureology/p/14831296.html
git clone ssh://git@provider.com:userName/projectName.git --config core.sshCommand="ssh -i ~/location/to/private_ssh_key"
git clone
命令时指定 ssh 的 key 文件:
参考:https://www.cnblogs.com/azureology/p/14831296.htmlgit clone ssh://git@provider.com:userName/projectName.git --config core.sshCommand="ssh -i ~/location/to/private_ssh_key"