sshはssh-keygen -t rsa -C "自分のメールアドレス" -b 4096
pbcopy < ~/.ssh/gitlab_rsa.pub
これをGitLab のサイトに貼り付ける。
Host gitlab.com User git Port 22 HostName gitlab.com IdentityFile ~/.ssh/gitlab_rsa TCPKeepAlive yes IdentitiesOnly yes
これを~/.ssh/config
に追記
sshはssh-keygen -t rsa -C "自分のメールアドレス" -b 4096
pbcopy < ~/.ssh/gitlab_rsa.pub
これをGitLab のサイトに貼り付ける。
Host gitlab.com User git Port 22 HostName gitlab.com IdentityFile ~/.ssh/gitlab_rsa TCPKeepAlive yes IdentitiesOnly yes
これを~/.ssh/config
に追記