【问题标题】:How do i solve a problem that says Repository not found?如何解决说找不到存储库的问题?
【发布时间】:2019-06-21 15:57:46
【问题描述】:

我在 github 上创建了一个 repo,并在 windows 上的本地目录命令提示符下输入了 repo 的 git clone https URL 字符串,它一直告诉我远程:找不到存储库。致命的:存储库。

请问我该如何解决这个问题?

谢谢。

我已经删除了 github 上的 repo。我尝试重新创建它,确保它与本地系统中的文件夹的字母大小写相同。

C:\Users\Olaniyi Adeosun\Desktop\cashurban>git clone https://github.com/titelecoms/cashurban.git 克隆成“cashurban”... 远程:未找到存储库。 致命:未找到存储库“https://github.com/titelecoms/cashurban.git/

【问题讨论】:

    标签: github repository


    【解决方案1】:

    如果是私有仓库,那么 git 必须登录正确的 github 帐户才能访问。你可以配置

    git config --global user.name "<username>"
    git config --global user.email <your@email.ca>
    

    或删除最后一个参数以读取您当前的配置。

    如果还是不行,也可能是https连接错误,可以试试git://

    git clone git://github.com/<USER>/<REPO>.git
    

    【讨论】:

      猜你喜欢
      • 2021-08-02
      • 2021-02-27
      • 2021-07-13
      • 2020-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-10
      相关资源
      最近更新 更多