如何在Azure DevOps中删除合并的功能分支? [英] How to remove merged feature branches in Azure DevOps?

查看:107
本文介绍了如何在Azure DevOps中删除合并的功能分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们曾经自动删除请求请求中的功能分支.但是随后我们需要将分支策略添加到功能分支,并且Azure DevOps说无法删除具有策略的分支".之后是否可以删除远程存储库(即Azure存储库)中所有合并的功能分支?(除了从用户界面中一一删除)

We used to delete feature branches in pull requests automatically. But then we needed to add branch policy to feature branches and Azure DevOps says "Cannot delete a branch which has policies". Is there a way to delete all merged feature branches afterwards in the remote repo (ie. Azure Repo)? (Other than removing them one by one from UI)

推荐答案

这种情况下已有已知的用户声音,您可以在以下链接中对其进行投票:

There is already a known user voice for this scenario, you can vote it in the following link:

https://developercommunity.visualstudio.com/idea/905484/allow-to-delete-branch-after-pull-request-in-a-bra.html

当前,您将分别从UI删除功能分支,或者在完成拉取请求之前禁用分支策略.

Currently, you would either delete the feature branch from UI separately, or disable the branch policy before completing pull request.

这篇关于如何在Azure DevOps中删除合并的功能分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆