简体   繁体   English

试图从 github 拉我得到错误远程:找不到存储库

[英]Trying to pull from github i get error remote: Repository not found

My server was working fine until yesterday it was pulling fine.我的服务器一直运行良好,直到昨天它运行良好。 today I run the command今天我运行命令

>> git pull origin <branch>

I get a response: remote: Repository not found.我收到回复:远程:找不到存储库。 I run command我运行命令

>> ssh -T git@github.com

I get response: Hi, You've successfully authenticated.我得到回复:您好,您已成功通过身份验证。 but GitHub does not provide shell access.但 GitHub 不提供 shell 访问权限。

>> I added ssh to my use and it has read and write ability

I even added config file like in here我什至在这里添加了配置文件

https://help.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port https://help.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port

still not working, and it'd be a mess if I create a new repo.仍然无法正常工作,如果我创建一个新的存储库,那将是一团糟。

any ideas?有任何想法吗? is there something wrong with GitHub? GitHub 有什么问题吗? why this might happen.为什么会发生这种情况。

If your URL ( git remote -v ) is indeed git@github.com:/如果您的 URL ( git remote -v ) 确实是 git@github.com:/

If not, check the case of the URL (it is case sensitive).如果不是,请检查 URL 的大小写(区分大小写)。

And try an HTTPS URL just for testing:并尝试仅用于测试的 HTTPS URL :

git ls-remote https://github.com/<you>/<yourRepo>

That will ask for your credentials (GitHub username/password)这将要求您提供凭据(GitHub 用户名/密码)

暂无
暂无

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

相关问题 尝试从Google App Engine上的远程存储库中提取时出错 - Error while trying to pull from a remote repository on Google App Engine 当找不到远程存储库时,防止 git pull 从 github 请求用户名密码 - prevent git pull asking for username password from github when remote repository not found 更改了Github上的凭据,现在我无法从远程存储库中提取 - Changed credentials on Github and now I can't pull from a remote repository 如何获取远程GitHub存储库的上游更改? - How do I pull upstream changes of a remote GitHub repository? 远程:找不到用于git pull的存储库 - remote: Repository not found for git pull 尝试从GitHub克隆或提取Git,但没有错误 - Trying to clone or pull Git from GitHub but no error GitHub:错误:未找到存储库。致命:远程端意外挂断(显然不同于类似的帖子) - GitHub: ERROR: Repository not found. fatal: The remote end hung up unexpectedly (different from similar posts apparently) Github 复制存储库:修复远程:未找到存储库 - Github Duplicating a repository: fixing remote: Repository not found 找不到 Github 存储库。 未找到致命错误远程存储库,据称切换帐户后 - Github repository not found. fatal error remote repository not found, after supposedly swtiching accounts 是否需要git pull和merge才能从远程存储库获取最新更新? - Do I need to git pull and merge to get the lastest update from a remote repository?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM