【问题标题】:Github remote: Repository not found. fatal: repository 'https://github.com/org/repo.git/' not found in PycharmGithub 远程:未找到存储库。致命:在 Pycharm 中找不到存储库“https://github.com/org/repo.git/”
【发布时间】:2021-04-24 21:00:39
【问题描述】:

我正在尝试从 Pycharm IDE 推送到 Github 中的私人仓库,但它经常失败。我收到以下错误:

remote: Repository not found.
fatal: repository 'https://github.com/org/repo.git' not found

我不明白如果我点击 https 链接,它会直接进入我的仓库。我还调用了git remote -v,列表中有repo。

为什么这不起作用?

谢谢

【问题讨论】:

  • 我认为私有存储库需要身份验证,对吧?如果是这样,git push 是否要求提供用户名和密码?如果没有,您可能已经指定了一个凭证助手,可以通过git config credential.helper 打印。您可能最近更改了密码,但助手中存储的密码尚未更新,因此会自动使用旧密码。
  • 感谢您的浏览。当我尝试git push 时,它会询问我的密码并且似乎在那里。我现在正面临此处发布的问题:stackoverflow.com/questions/65811895/…

标签: git github pycharm


【解决方案1】:

尝试将您的网络切换到其他提供商,然后试一试。

或者你可以尝试运行命令:

ssh -T git@github.com

【讨论】:

    猜你喜欢
    • 2013-12-11
    • 1970-01-01
    • 2014-10-09
    • 1970-01-01
    • 2022-10-23
    • 1970-01-01
    • 2014-03-23
    • 1970-01-01
    • 2012-04-28
    相关资源
    最近更新 更多