Diagram

A process flow showing a pull request passing through minimum reviewers, build validation, and merge strategy policies before being merged into the protected main branch, while direct commits and force pushes are blocked.
Implement Branch Policies
You can create several key policies. A minimum reviewers policy requires a set number of team members to approve a pull request before it can be merged, which spreads knowledge and catches mistakes. A successful build validation policy forces the code to pass automated builds and tests in your pipeline, preventing broken code from being added. You can also define specific merge strategies, which control how the branch history is recorded, such as requiring a squash merge to keep history clean.
Domain 3 of 3
2 practice questions
Practice this DomainLast updated