Gitlab克隆项目:身份验证失败
我试图简单地克隆一个同时使用HTTPS和SSH的Gitlab项目,但它们都不起作用,并打印回一条atuhentication失败的消息 尝试使用https地址时:Gitlab克隆项目:身份验证失败,gitlab,Gitlab,我试图简单地克隆一个同时使用HTTPS和SSH的Gitlab项目,但它们都不起作用,并打印回一条atuhentication失败的消息 尝试使用https地址时: git clone https://gitlab.com/project.aa/project.git Cloning into 'frontend'... remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://gitlab.com/p
git clone https://gitlab.com/project.aa/project.git
Cloning into 'frontend'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/project.aa/project.git'
使用我的SSH密钥,我得到的信息是:
Cloning into 'frontend'...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我能做什么?尝试注销并使用您尝试用于克隆存储库的相同凭据登录。如果问题仍然存在:在Windows中,搜索
凭证管理器
。在该对话框中,选择Windows管理器。选择您的Gitlab凭据并对其进行修改。您已经尝试了git clonegit://gitlab.com/project.aa/project.git?非常感谢,我不得不修改证书。我也有同样的问题,但我在Linux Ubuntu。我该如何解决?