【发布时间】: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 checkout -b Chapter 3 fatal: '3' is not a commit and a branch 'Chapter' cannot be created from it 创建分支?
我已经在 Master 上设置了远程仓库,但是由于某种原因它不允许我创建本地分支。
【问题讨论】:
我认为这是因为您在其中有一个空间 - 空间会搞砸各种事情!你可以试试:
git checkout -b Chapter3
我不知道你为什么想要一个空间。如果chapter3不行,那chapter-3或者chapter_3呢?
【讨论】: