list-branches
Retrieve branch details for a GitHub Enterprise repository, including protected branches, with pagination support. Specify owner, repo, and optional filters for precise results.
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 |