简体   繁体   English

Gitflow:每个版本有一个功能?

[英]Gitflow: One feature per release?

Does the git-flow workflow intend for one feature per release, so that as soon as a feature is merged into develop , a corresponding release branch is made? git-flow工作流是否打算每个版本使用一个功能,以便一旦将功能合并到develop ,就会生成相应的发布分支? Or can a release branch contain multiple features (each of which were merged into develop that subsequently became a single release branch)? 或者发布分支是否包含多个功能(每个功能都合并到develop ,随后成为单个发布分支)?

I understand what's possible with git-flow. 我理解git-flow有什么可能 I'm asking what was the intention of git-flow regarding features and releases...what is the best practice , not all that is possible. 我在问git-flow关于功能和发布的意图是什么......什么是最佳实践 ,而不是所有可能的实践

First of all, GitFlow permits you do so much features as you want. 首先,GitFlow 允许您根据需要执行如此多的功能。

Now, it's your decision how you'll work with it. 现在,您决定如何使用它。

Some developers develop one feature and when finish this feature creates a release. 一些开发人员开发了一个功能,完成此功能后会创建一个版本。

Some developers develop many features and times in times (eg each two weeks) they creates a new release with all features that they have in the develop branch. 一些开发人员有时会(例如每两周)开发许多功能和时间,他们会在开发分支中创建具有所有功能的新版本。

只要您遵循正确的合并策略,Gitflow就可以在每个版本中包含多个功能,这听起来就像您一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM