0

我正在阅读http://nvie.com/posts/a-successful-git-branching-model/这似乎很有希望。

我正在寻找这篇文章中缺少的一些澄清:

  1. 版本总是由大师制作的——对吗?我可能有一个修补程序分支或发布分支,但发布是由 master 制作的。因此,在发布之前将分支合并到 master,标记它然后发布。让我的生活变得简单,但我不确定这也是 gitflow 所推荐的。
  2. 由于这个确切的原因,标签总是存在于主分支上。每个标签标记一个发布点。这也行吗?
4

1 回答 1

0
  1. Yes
  2. Yes

This is a quote from that post, in the section "Finishing a release branch":

When the state of the release branch is ready to become a real release, some actions need to be carried out. First, the release branch is merged into master (since every commit on master is a new release by definition, remember). Next, that commit on master must be tagged for easy future reference to this historical version

于 2013-04-21T16:02:51.280 回答