致命:http://gitlab.XXXXXXXXXX/talented/userName.git/info/refs无效:这是Git存储库吗?

问题描述 投票:1回答:2

我通过此用户名和密码在GitLab中拥有一个帐户:

在此URL中:https://gitlab.com/

UserName: UsernameTest

Password: Password Test

有人通过此地址在GitLab中为我发送链接:http://gitlab.ConpmanyName.net:10201/talented/projectName

并给我一个用户名和密码:

Username: name

Password: somewords

现在,我需要使用此URL http://gitlab.compoanyName.net/talented/projName.git克隆项目>

但是它向我显示此错误:

致命:http://gitlab.compoanyName.net/talented/projName.git/info/refs无效:这是git存储库吗?

有什么问题?我该如何解决这个问题?

我使用此用户名和密码在GitLab中拥有一个帐户:在此URL中:https://gitlab.com/用户名:UsernameTest密码:密码测试有人通过此地址在GitLab中为我发送链接:...

git gitlab git-bash
2个回答
0
投票

如果显示错误甚至不要求提供用户名/密码,请检查您是否有git凭证帮助程序将错误的凭证(git config credential/helper)缓存


0
投票

该错误表明您的问题,您使用的网址不是有效的git存储库gitlab中的Git存储库将以.git结尾。

© www.soinside.com 2019 - 2024. All rights reserved.