秘密鍵を指定してGitHubからgit cloneする前提GitHubのリポジトリのURLgit@github.com:mycompany/myrepo.git 手順.ssh/configの編集Host mycompany-github HostName github.com User git IdentityFile ~/.ssh/mycompany.key IdentitiesOnly yes
git cloneの実行git clone git@mycompany-github:mycompany/myrepo.git |
|