반응형
    
    
    
  
GitLab OAuth Token 발급
URL
[YOUR GITLAB URL]/oath/token?
    grant_type=password&
    username=[USER_NAME]&
    password=[USER_PASSWORD]
Response
{
   "access_token": "[ACCESS TOKEN]",
    "token_type": "Bearer",
    "refresh_token": "[REFRESH TOKEN]",
    "scope": "api",
    "created_at": 1639032205
}
발급된 Token으로 Git Clone
# git clone http[s]://oauth2:[USER_TOKEN]@[REPO_URL(Without http/https)]
git clone https://oauth2:ts223ngi23j4@gitlab.ex.com/test/test.git반응형
    
    
    
  'Product > GitLab' 카테고리의 다른 글
| [GitLab] GitLab-CE Version Upgrade (0) | 2021.12.07 | 
|---|---|
| [GitLab] GitLab Runner 구성 - GitLab CI/CD With .NET 6.0 (0) | 2021.12.06 |