Setup GitFlow in VSTS - Best practices?

爱⌒轻易说出口 提交于 2019-12-08 16:24:01

问题


Is there any recommendation how to set up GitFlow with Visual Studio TeamServices?

We come from BitBucket and there it's just a simple init. But in VSTS we cannot find any scaffolding. It seems to be we have to set up a lot of manual settings, right? So how to setup usergroups, policies... for a recommended usage with GitFlow in VSTS?


回答1:


There is no standard one-click button to setup branches and policies on VSTS to support GitFlow or another type of flow framework for Git (like GitHubFlow etc).

The setup isn't too hard, but can involve many manual steps. You'd be able to turn this into an init script using the REST API to have it generate the builds (with wildcards on the branch filters), set the branch policies and lock the branches with the right security.

At the same time, there is not really a default setup for GitFlow if there is enough trust in the team... The security group for just about everything in that case would just be "default team".

There is a Visual Studio plugin by the way, which will help you setup the branch structure and the merge flow between branches.

  • https://visualstudiogallery.msdn.microsoft.com/f5ae0a1d-005f-4a09-a19c-3f46ff30400a


来源:https://stackoverflow.com/questions/40475717/setup-gitflow-in-vsts-best-practices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!