repo_get_branch_by_name
Retrieve a specific branch from an Azure DevOps repository by providing the repository ID and branch name. Simplifies branch management using PAT authentication.
Instructions
Get a branch by its name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branchName | Yes | The name of the branch to retrieve, e.g., 'main' or 'feature-branch'. | |
repositoryId | Yes | The ID of the repository where the branch is located. |