Skip to content

Commit 921e931

Browse files
chiphmchammer01
andauthored
Add mention of protected branches/rulesets WRT the Update branch button (#56239)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 09e6177 commit 921e931

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/keeping-your-pull-request-in-sync-with-the-base-branch.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ You can update a pull request's head branch from the command line or the pull re
2121
* The pull request branch is not up to date with the base branch.
2222
* The base branch requires branches to be up to date before merging or the setting to always suggest updating branches is enabled.
2323

24-
For more information, see [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches) and [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-suggestions-to-update-pull-request-branches).
24+
> [!NOTE] You may not be able to update using the `Update branch` button if the HEAD branch of your pull request is a protected branch.
25+
26+
For more information, see [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches), [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets) and [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-suggestions-to-update-pull-request-branches).
2527

2628
If there are changes to the base branch that cause merge conflicts in your pull request branch, you will not be able to update the branch until all conflicts are resolved. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts).
2729

0 commit comments

Comments
 (0)