You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the default branch.
You need to implement a change management procedure that meets the following requirements:
-> The default branch must be protected, and new changes must be built in the feature branches first.
-> Changes must be reviewed and approved by at least one release manager before each merge.
-> Changes must be brought into the default branch by using pull requests.
What should you configure in Azure Repos?
Click on the arrows to vote for the correct answer
A. B. C. D.A
Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.
https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policiesThe correct answer is A. branch policies of the default branch.
Explanation: In this scenario, the goal is to implement a change management procedure that requires changes to be built and reviewed before merging into the default branch. Azure Repos offers branch policies that allow you to configure a set of rules that govern how changes are made to a branch.
To configure the branch policies for the default branch, follow these steps:
Once you have configured the branch policies, any changes made to the default branch will be subject to the rules you have set. This helps to ensure that changes are properly tested and reviewed before being merged into the default branch, which can help to prevent issues from arising later on.