简体   繁体   English

跳过 Gitflow 中的发布分支 TFS

[英]Skip Release branch in Gitflow TFS

We are moving to Gitflow workflow with TFS and are using the Jacob Ehn plugin in Visual Studios.我们正在使用 TFS 迁移到 Gitflow 工作流,并在 Visual Studios 中使用 Jacob Ehn 插件。 During our findings we have decided that a release branch is extra and increase the complexity.在我们的调查结果中,我们决定发布分支是额外的并增加了复杂性。 Can we implement Gitflow without creating a Release branch?我们可以在不创建 Release 分支的情况下实现 Gitflow 吗? We will perform all of the testing on Develop branch itself and then merge it into the Master branch from which we will make a build from theat.我们将对 Develop 分支本身执行所有测试,然后将其合并到 Master 分支中,我们将从该分支中进行构建。

Actually, Gitflow is just a branching model for Git.实际上,Gitflow 只是 Git 的分支 model。 It has attracted a lot of attention because it is very well suited to collaboration and scaling the development team.它吸引了很多关注,因为它非常适合协作和扩展开发团队。

It doesn't mean we have to follow this.这并不意味着我们必须遵循这一点。 And tfs also do not force you to use Gitflow when you are working on Git Source Control.当您在 Git 源代码控制上工作时,tfs 也不会强迫您使用 Gitflow。

You could adopt any Git branching strategy and use your own's flow based on team's situation.您可以采用任何 Git 分支策略,并根据团队情况使用自己的流程。

However, if you are following and using Gitflow.但是,如果您正在关注并使用 Gitflow。 This would be mandatory to make release branch for every release in production or your master branch.这对于为生产中的每个版本或您的主分支创建发布分支是强制性的

It's not able to skip release branch.它无法跳过发布分支。 You could take a look at this similar question: How to use git flow without using release branch?你可以看看这个类似的问题: How to use git flow without using release branch?

Also suggest you kindly refer this clearly and detail tutorial about introducing GitFlow.还建议您参考这篇关于介绍 GitFlow 的清晰详细的教程。 Which help us understand how it works.这有助于我们了解它是如何工作的。

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

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