create_branch
Create a GitLab branch from any commit, tag, or branching point. Specify the project ID or path, the new branch name, and the source reference.
Instructions
Create a new branch from a commit, tag, or branch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Source branch, tag, or commit SHA to branch from (default: HEAD) | HEAD |
| branch | Yes | Name of the new branch to create (e.g. 'feature/upgrade-java') | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. |