Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com> Co-authored-by: Peter Bengtsson <peterbe@github.com>
22 lines
561 B
Markdown
22 lines
561 B
Markdown
---
|
|
title: Branches
|
|
intro: 'The branches API allows you to modify branches and their protection settings.'
|
|
allowTitleToDifferFromFilename: true
|
|
versions:
|
|
fpt: '*'
|
|
ghes: '*'
|
|
ghae: '*'
|
|
ghec: '*'
|
|
topics:
|
|
- API
|
|
miniTocMaxHeadingLevel: 3
|
|
---
|
|
|
|
{% for operation in currentRestOperations %}
|
|
{% unless operation.subcategory %}{% include rest_operation %}{% endunless %}
|
|
{% endfor %}
|
|
|
|
## Protected branches
|
|
{% for operation in currentRestOperations %}
|
|
{% if operation.subcategory == 'branch-protection' %}{% include rest_operation %}{% endif %}
|
|
{% endfor %} |