【发布时间】:2016-01-15 00:30:52
【问题描述】:
我有 2 个特性分支 feature1、特性 2,它们都来自开发分支。
在 feature1 中,我有一些新创建的文件。 不确定当我从开发分支分支功能 2 时我错在哪里,功能 1 中的新文件可以在功能 2 中看到。 在 feature1 中还更改了 1 个文件,这些更改也显示在 feature2 中。 我不希望 feature2 中的新文件,我也不希望在 feature 1 中更改文件,因为我想为 feature2 单独更改此文件。 请帮忙。
当 GIT Bash 指向开发分支时用于创建功能分支的命令是 git checkout -b 功能1 git checkout -b feature2
【问题讨论】:
标签: git github git-branch git-checkout