Template for setting branch policies for repos

徘徊边缘 提交于 2019-12-13 03:42:09

问题


We are in the process of migrating all our repositories from Github to VSTS finally and getting our automated build and deployment process setup as well as a new working flow.

While setting up our repositories we had to go through each one individually and configure the branch policies. It got me thinking is there not a way to create some sort of branch policy template that can be reused for your other repos or new repos? I couldn't find anything in the settings that indicated otherwise but I've been having a hard time sifting through all the ways you can customize VSTS that I'm sure I could have missed it.


回答1:


For now, there is no way bulk set branch policies for branches and repositories.

I posted an user voice Have branch police template to store the branch policies usually set for most branches, you can vote and follow up.

And there is also another user voice Share single branch policy by multiple branches which suggest the similar functions to set branch policies for multiple branches, you can also vote and follow up.



来源:https://stackoverflow.com/questions/47402461/template-for-setting-branch-policies-for-repos

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