Git错误是什么“remote:Repository not found”。意思? [英] What does the Git error "remote: Repository not found." mean?
本文介绍了Git错误是什么“remote:Repository not found”。意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我发布后
git push origin< branch-name>
并输入了访问凭证,Git返回了一个错误,如下所示:
remote:未找到存储库。
$ p $身份验证失败p>
致命:https://github.com/<account-name>/<repository-name>.git'
什么似乎是问题?
解决方案GitHub帮助页面, 错误:未找到存储库总结了可能的原因:
-
权限(这是 Monika 指的是评论 a> with直接从repo克隆...推送时出错)
您可能需要 分销回购 ,并且在您本地的回购协议中,做一个:
git remote rename origin upstream
git remote add origin https://YourUsername@github.com/YourUsername/YourFork
-
拼写:回购的名称是 区分大小写 <
不存在的回购
After I issued
git push origin <branch-name>
and entered the access credentials, Git returned an error like so
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/<account-name>/<repository-name>.git'
What seems to be the problem?
解决方案
The GitHub help page, "Error: Repository not found" summarizes the possible causes:
permission (which is what Monika refers to in the comments with "Cloned directly from repo…get error when pushing")
You might need to fork the repo, and, on your local repo, do a:
git remote rename origin upstream git remote add origin https://YourUsername@github.com/YourUsername/YourFork
spelling: the name of the repo is case sensitive
non-existent repo
这篇关于Git错误是什么“remote:Repository not found”。意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文