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.

GitHub

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

NameTypeDescription
ownerrequiredstring

Repository owner

pagenumber

Page number for pagination (min 1)

perPagenumber

Results per page for pagination (min 1, max 100)

reporequiredstring

Repository name

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .