繁体   English   中英

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

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

我的服务器一直运行良好,直到昨天它运行良好。 今天我运行命令

>> git pull origin <branch>

我收到回复:远程:找不到存储库。 我运行命令

>> ssh -T git@github.com

我得到回复:您好,您已成功通过身份验证。 但 GitHub 不提供 shell 访问权限。

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

我什至在这里添加了配置文件

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

仍然无法正常工作,如果我创建一个新的存储库,那将是一团糟。

有任何想法吗? GitHub 有什么问题吗? 为什么会发生这种情况。

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

如果不是,请检查 URL 的大小写(区分大小写)。

并尝试仅用于测试的 HTTPS URL :

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

这将要求您提供凭据(GitHub 用户名/密码)

暂无
暂无

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

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