社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Git

如何修复使用git clone时“找不到您要查找的项目”

tijnster • 4 年前 • 1087 次点击  

我正试图将一个项目从gitlab克隆到我的本地计算机。我被授予了作为开发人员的权限,并使用命令'git clone

  • 所有协议都不起作用(ssh和https都不起作用)

我收到的错误消息是:

远程:找不到您要查找的项目。 致命:存储库' https://gitlab.com/KZA_Connected/skilltree.git/ '未找到

任何帮助都将不胜感激。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/52004
 
1087 次点击  
文章 [ 4 ]  |  最新文章 4 年前
Abdul Karim Khan
Reply   •   1 楼
Abdul Karim Khan    4 年前

我通过简单地将用户名添加到如下url来解决这个问题,

之前: https://gitlab.com/gitlab_user/myrepo.git

之后: https://gitlabusername@gitlab.com/gitlab_user/myrepo.git

tijnster
Reply   •   2 楼
tijnster    5 年前

解决方案:这是因为我的windows凭据被设置为其他电子邮件帐户。

Shini_TheCreator
Reply   •   3 楼
Shini_TheCreator    5 年前

老实说,我不知道GitLab是如何工作的,我使用GitHub,但是检查repo是否标记为private。

我在GitHub上也遇到过类似的问题,我的朋友无法检索和克隆我的repo,尽管他有一个“贡献者”cz的身份,但我意外地将其检查为私有。还要检查GitLab帐户和您在命令行工具中使用的帐户是否匹配。

Abdul Waheed
Reply   •   4 楼
Abdul Waheed    4 年前

今天,我也有同样的问题。回购协议在我家机器上运行良好,但当我在其他机器上尝试相同的回购协议时,我开始面临同样的错误。我在用下面的网址

https://gitlab.com/{gitlab_user}/project_repo.git

现在我把上面的URL改成下面的

https://{gitlab_user}@gitlab.com/gitlab_user/project_repo.git

这对我很有用。在下面的URL找到了上面的解决方案

https://medium.com/@imstudio/gitlab-the-project-you-were-looking-for-could-not-be-found-issue-685944aa5485

希望这对其他人有帮助。