Gitlab
git clone git@xxxxx 2段階認証を設定すると、アクセストークンをパスワードとして使わないといけない
こうなった git push origin master --force Counting objects: 15, done. Delta compression using up to 4 threads. Compressing objects: 100% (15/15), done. Writing objects: 100% (15/15), 2.18 KiB | 1.09 MiB/s, done. Total 15 (delta 8), reused …
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…