【发布时间】:2021-12-22 18:16:23
【问题描述】:
在 Gitlabee 中有一个我经常使用的存储库。当我在 git bash 中尝试“git pull origin modal_control”时,openSSH 选项卡会打开并询问我的用户名和密码。
我输入了用户名和密码。但是 git bash 给了我这个输出:
$ git pull origin modal_control
remote: HTTP Basic: Access denied
remote: You must use a personal access token with 'read_repository' or
'write_repository' scope for Git over HTTP.
remote: You can generate one at
https://gitlabee....com/-/profile/personal_access_tokens
fatal: Authentication failed for 'https://gitlabee....com/__repository_name__'
我创建了访问令牌和 SSH 密钥,但它仍然无法正常工作
【问题讨论】:
标签: git authentication openssh access-denied gitlab-ee