list-branches
Retrieve branch details from GitHub Enterprise repositories, including protected branches, with pagination support for efficient repository management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
owner | Yes | User or organization name | |
page | No | Page number | |
perPage | No | Items per page | |
protected_only | No | Whether to show only protected branches | |
repo | Yes | Repository name |