【问题标题】:Cant create branch in Git [duplicate]无法在 Git 中创建分支 [重复]
【发布时间】:2021-01-09 17:28:17
【问题描述】:

为什么我不能使用$ git checkout -b Chapter 3 fatal: '3' is not a commit and a branch 'Chapter' cannot be created from it 创建分支?

我已经在 Master 上设置了远程仓库,但是由于某种原因它不允许我创建本地分支。

【问题讨论】:

    标签: git github


    【解决方案1】:

    我认为这是因为您在其中有一个空间 - 空间会搞砸各种事情!你可以试试:

    git checkout -b Chapter3

    我不知道你为什么想要一个空间。如果chapter3不行,那chapter-3或者chapter_3呢?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-01-27
      • 2021-12-08
      • 2016-05-06
      • 2015-04-06
      • 1970-01-01
      • 2013-08-06
      • 1970-01-01
      相关资源
      最近更新 更多