1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/content/rest/reference/branches.md
Rachael Sewell a340162d84 reorganize repository apis (#23728)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 11:53:12 +10:00

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 %}