Quick Notes99 words
Branch merging restrictions — quick notes
Merging restrictions — quick notes
| Restriction | Effect |
|---|---|
| Require a PR | No direct pushes |
| Restrict who can push | Named people/teams/apps only |
| Require status checks | Merge blocked until green |
| Require up to date | Revalidate against the latest target |
| Include administrators | Rules apply to admins too |
| Block force push / deletion | History cannot be rewritten |
Traps
- Admin exemption = unprotected exactly when it matters (an incident).
- Without "up to date", two individually-green PRs can break
maintogether.