bb_create_branch
Create a new branch in a Bitbucket repository by specifying the repository slug, branch name, and optional start point or workspace. Simplifies repository management tasks.
Instructions
Create a new branch in a Bitbucket repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Name for the new branch | |
repo_slug | Yes | Repository slug/name | |
start_point | No | Branch/commit to create from (defaults to main) | main |
workspace | No | Repository workspace (defaults to kallows) | kallows |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"description": "Name for the new branch",
"type": "string"
},
"repo_slug": {
"description": "Repository slug/name",
"type": "string"
},
"start_point": {
"default": "main",
"description": "Branch/commit to create from (defaults to main)",
"type": "string"
},
"workspace": {
"default": "kallows",
"description": "Repository workspace (defaults to kallows)",
"type": "string"
}
},
"required": [
"repo_slug",
"branch"
],
"type": "object"
}