Is it possible to set branch policies across all repo's? In other words, When creating a branch, a default branch policy is already set for master.
Right now you can't. You could listen to events in Azure DevOps for project creation for example and then set the policy yourself. For some information how to start see here: https://docs.microsoft.com/en-us/azure/devops/repos/git/create-pr-status-server-with-azure-functions?view=vsts
Indeed as @Thomas Harris mentioned in the comment above, you can set it for all repos in a single project via
And then you can select whether this applies to the default branch or a specific branch name pattern.
It's been changed now. So for others who look for it, you can find it there:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.