Create branch
gitlab_create_branchCreate a new GitLab project branch from a specified ref to isolate changes, fixes, or features before merging.
Instructions
Create a new branch in a project.
Args: **kwargs: Additional parameters for the request (e.g., project_id, branch, ref).
Returns: Response: The response object containing a Branch model.
Raises: MissingParameterError: If required parameters are missing. ParameterError: If invalid parameters are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| page | No | ||
| branch | No | ||
| per_page | No | ||
| max_pages | No | ||
| project_id | Yes | ||
| api_parameters | No |