git:无法克隆私有存储库,错误:找不到存储库

Rah*_*ore 6 git github repository git-clone

我的一位朋友加入了他作为合作者的Github项目.我能够看到回购,但当我尝试克隆时:

git clone https:/github.com/FriendsUserName/FriendsRepo.git
Run Code Online (Sandbox Code Playgroud)

获取错误:

remote: Repository not found.
fatal: repository https:/github.com/FriendsUserName/FriendsRepo.git not found
Run Code Online (Sandbox Code Playgroud)

我已经成功设置了多个Github帐户,从这篇文章 - Github工作和娱乐(多个帐户)

以前有人遇到过这个问题吗?

我也尝试分叉回购然后克隆.但仍然与克隆相同的错误.

Joa*_*tos 0

该错误可能发生在权限中。检查您是否有访问权限。

您的朋友必须更改本文的权限: https://help.github.com/articles/adding-collaborators-to-a-personal-repository/

如果您已成功通过规则选项的身份验证,还请检查您的 ssh 访问权限以进行验证;)

ssh -T git@github.com