Github-克隆时找不到远程存储库

时间:2018-09-18 04:36:10

标签: github

克隆时出现以下错误?该如何解决?

$ git clone https://github.com/xxx/yyy.git

Cloning into 'yyy'...

remote: Repository not found.

fatal: repository 'https://github.com/xxx/yyy.git/' not found

1 个答案:

答案 0 :(得分:1)

这是私有存储库的URL,您无权访问。
或者您确实具有访问权限,但是错误的凭据存储在git credential helper中。

或者您复制的URL具有小写/大写问题(该URL区分大小写)。

由于它是GitHub的私有仓库,因此您只需删除cached credentials:下一个git clone将会再次询问他们。

相关问题