简体   繁体   English

Git 克隆错误:未找到存储库

[英]Git Clone ERROR: Repository not found

is given the below message fatal: repository 'url' not found给出以下消息致命:未找到存储库“ url”

Saurabh-Saurabh:~ TestName$ git clone https://github.com/Test/TestNewApp.git
Cloning into 'TestNewApp'...
remote: Repository not found.
fatal: repository 'https://github.com/Test/TestNewApp.git/' not found
Saurabh-Saurabh:~ TestName$ 

Paste the github url in the browser and check .将 github url 粘贴到浏览器中并检查 . There is no such repository.没有这样的存储库。

The reason why you're getting this error is because of the url you have provided as an argument to git clone command.您收到此错误的原因是您提供的 url 作为 git clone 命令的参数。 It's not a valid URL.这不是一个有效的 URL。 I'm assuming that your username on github is 'test'.我假设您在 github 上的用户名是“test”。 You need to provide a correct url to git clone command.您需要为 git clone 命令提供正确的 url。 In your test repository you'd see a download or clone button :在您的测试存储库中,您会看到一个下载或克隆按钮: 克隆网址

You need to copy that URL and provide that to git clone as an argument.您需要复制该 URL 并将其作为参数提供给 git clone。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM