Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gitlab克隆项目:身份验证失败_Gitlab - Fatal编程技术网

Gitlab克隆项目:身份验证失败

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

我试图简单地克隆一个同时使用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/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。我该如何解决?