投稿日:2019/07/22
アクセストークン取得
参考https://hawksnowlog.blogspot.com/2018/02/gitlab-clone-with-token.html HTTPSでのクローンURLを、下記のように書き換え
https://gitlab.com/[ユーザー名]/[プロジェクト名].git
↓↓↓
https://oauth2:[アクセストークン]@gitlab.com/[ユーザー名]/[プロジェクト名].git
既存のプロジェクトに適用する
既存のGitLabプロジェクトにアクセストークンを含ませるにはremoteのURLを書き換えてやればよい ・remote確認
git remote -v
・書き換え
git remote set-url origin [変更先のURL]