Quick Notes99 words

Branch merging restrictions — quick notes

Merging restrictions — quick notes

RestrictionEffect
Require a PRNo direct pushes
Restrict who can pushNamed people/teams/apps only
Require status checksMerge blocked until green
Require up to dateRevalidate against the latest target
Include administratorsRules apply to admins too
Block force push / deletionHistory cannot be rewritten

Traps

  1. Admin exemption = unprotected exactly when it matters (an incident).
  2. Without "up to date", two individually-green PRs can break main together.

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free