1
0
mirror of synced 2026-01-04 18:06:26 -05:00

Merge pull request #21633 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2022-10-26 11:00:15 -07:00
committed by GitHub

View File

@@ -187,7 +187,7 @@ When you enable branch restrictions, only users, teams, or apps that have been g
Optionally, you can apply the same restrictions to the creation of branches that match the rule. For example, if you create a rule that only allows a certain team to push to any branches that contain the word `release`, only members of that team would be able to create a new branch that contains the word `release`.
{% endif %}
You can only give push access to a protected branch, or give permission to create a matching branch, to users, teams, or installed {% data variables.product.prodname_github_apps %} with write access to a repository. People and apps with admin permissions to a repository are always able to push to a protected branch or create a matching branch.
You can only give push access to a protected branch, or give permission to create a matching branch, to users, teams, or installed {% data variables.product.prodname_github_apps %} with write access to a repository. People and apps with admin permissions to a repository are always able to push to a protected branch{% ifversion restrict-pushes-create-branch %} or create a matching branch{% endif %}.
### Allow force pushes