在尝试从 GitLab 克隆项目时,我收到以下错误:
Cloning into 'project Name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'project GitLab URL'
我们尝试了来自 this 的以下命令线。git config --system --unset credential.helper
尝试上述命令后,Git CMD 要求输入用户名和密码。我们可以输入用户名,但无法输入密码。Cloning into 'project Name'...
Username for 'https://gitlab.com': Name
Password for 'https://name@gitlab.com':
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'project GitLab URL'
此外,我们尝试从控制面板中删除 GitLab 条目,例如 this博客。它也没有解决问题。为什么我无法在 GitLab 上输入密码?
最佳答案
评论太长:如描述 here ,你可以
https://gitlab.com/gitlab-tests/sample-project.git
. git@gitlab.com:gitlab-tests/sample-project.git
. 正如认证部分所述,
关于Git CMD : Getting HTTP Basic: Access denied issue when trying to clone the project from GitLab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64228498/