remote: HTTP Basic: Access denied
remote: You must use a personal access token with 'api' scope for Git over HTTP.
remote: You can generate one at https://gitlab.com/profile/personal_access_tokens.
remote: You must use a personal access token with 'api' scope for Git over HTTP.
remote: You can generate one at https://gitlab.com/profile/personal_access_tokens.
Before:
git remote -v
origin https://gitlab.com/username/project.git (fetch)
origin https://gitlab.com/username/project.git (push)
After creating a Personal Access Token, replace 'username', 'personal-access-token' and 'project' in the URL bellow:
git remote set-url origin https://username:personal-access-token@gitlab.com/username/project.git
After:
git remote -v
origin https://username:personal-access-token@gitlab.com/username/project.git (fetch)
origin https://username:personal-access-token@gitlab.com/username/project.git (push)
Categorieën
Git