Git flow: 为什么tag没有放在master分支上?
Git flow: why the tag is not placed on the master branch?
我遇到了 git-flow,我不明白为什么在 git flow release finish v3.10beta2
期间没有将标签添加到 master
的版本中。
$ git l --all
* 0b873f0 Merge branch 'release/v3.10beta2' into develop (HEAD -> develop)
|\
| | * afd7ae2 Merge branch 'release/v3.10beta2' (master)
| | |\
| | |/
| |/|
| * | 1c3bf06 Bumped version [git flow release start v3.10beta2] (tag: v3.10beta2)
|/ /
* | 3277a37 Feature foo added [git flow feature finish foo]
|/
* 67c55af Initial commit
有什么明显的原因吗?
最初是这种情况(即在 master
上标记),但这意味着 develop
分支在执行 git describe --tags
(as stated in issue 374)
时看不到所述标记
标签错误:
图片来自过期gitflow cheatsheet
如果在发布时设置了 vX.X.X
标签而不是 master
,那么 develop
可以看到最新的标签。
我遇到了 git-flow,我不明白为什么在 git flow release finish v3.10beta2
期间没有将标签添加到 master
的版本中。
$ git l --all
* 0b873f0 Merge branch 'release/v3.10beta2' into develop (HEAD -> develop)
|\
| | * afd7ae2 Merge branch 'release/v3.10beta2' (master)
| | |\
| | |/
| |/|
| * | 1c3bf06 Bumped version [git flow release start v3.10beta2] (tag: v3.10beta2)
|/ /
* | 3277a37 Feature foo added [git flow feature finish foo]
|/
* 67c55af Initial commit
有什么明显的原因吗?
最初是这种情况(即在 master
上标记),但这意味着 develop
分支在执行 git describe --tags
(as stated in issue 374)
标签错误:
图片来自过期gitflow cheatsheet
如果在发布时设置了 vX.X.X
标签而不是 master
,那么 develop
可以看到最新的标签。