Posted at

Gitlab

More than 1 year has passed since last update.


SSH

gitlabでパスワードを毎回聞かれる件

Kobito.ob9iVM.png


bash

$ git remote set-url origin <②の値>



bash

$ ssh-keygen -t rsa -C <registered@email.address>

$ cd ~/.ssh
$ mv id_rsa gitlab_rsa
$ mv id_rsa.pub gitlab_rsa.pub


~/.ssh/config

Host gitlab.com
HostName gitlab.com
User git↲
Port 22
IdentityFile ~/.ssh/gitlab_rsa↲
TCPKeepAlive yes↲
IdentitiesOnly yes↲

Kobito.9R7iHR.png