Skip to main content

List Branches

Get a list of repository branches from a project, sorted by name alphabetically.

External Documentation

To learn more, visit the GitLab documentation.

Parameters

ParameterDescription
Project IDThe ID or path of the project owned by the authenticated user. If the path is being used, it should be url encoded - for example: user%2my-project .
SearchReturn list of branches containing the search string. You can use ^term and term$ to find branches that begin and end with term respectively.

Workflow Library Example

List Branches with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop