Tool
List branches
The List Branches tool enables users to efficiently retrieve and view all branches within a specified GitHub repository. Designed to streamline Git workflow management, it supports pagination and customization of results per page for optimal navigation through large repositories.
Features
- Supports specifying the repository owner and name to target any GitHub repository.
- Allows pagination by setting page number and results per page (up to 100) for managing large branch lists.
- Provides read-only access to branch information without altering repository data.
- Easy integration with other GitHub management tools and workflows.
- Offers a simple and clear JSON interface for quick adoption in automation scripts and applications.
Benefits
- Saves time by quickly listing all branches in a repository without manual navigation.
- Enhances productivity through seamless integration with development workflows.
- Improves repository oversight by providing comprehensive branch visibility.
- Supports scalability by handling pagination for repositories with many branches.
- Reduces errors by providing standardized and automated access to branch information.
Description
List branches in a GitHub repository
Parameters
4 parameters
| Name | Type | Description |
|---|---|---|
| ownerrequired | string | Repository owner |
| page | number | Page number for pagination (min 1) |
| perPage | number | Results per page for pagination (min 1, max 100) |
| reporequired | string | Repository name |