【问题标题】:why i am getting that error ? fatal: Remote branch redux-basics not found in upstream origin为什么我收到那个错误?致命:在上游源中找不到远程分支 redux-basics
【发布时间】:2021-10-03 22:49:35
【问题描述】:

我正在使用该命令克隆存储库的一个分支,但我不知道它为什么会引发该错误

git clone -b redux-basics https://github.com/mschwarzmueller/reactjs-redux-basics.git

为什么那个命令返回给我

fatal: Remote branch redux-basics not found in upstream origin

请告诉我下一步该怎么做

【问题讨论】:

    标签: git github git-branch git-clone


    【解决方案1】:

    如果您只是浏览到 the URL you yourself supplied 并使用 GitHub 的 Web 界面查找分支的名称,您会发现此存储库没有名为 redux-basics 的分支。

    确实有一个名为 01-redux-basics 的分支(列在“陈旧”部分,最近一次更新是 5 年前)。

    【讨论】:

      猜你喜欢
      • 2021-09-30
      • 2015-12-11
      • 2019-09-01
      • 2021-09-26
      • 1970-01-01
      • 2015-09-06
      • 2011-08-29
      • 2017-02-20
      • 1970-01-01
      相关资源
      最近更新 更多