create_branch
Create a new branch from an existing branch in a GitHub repository. Specify the repository, new branch name, and optional source branch.
Instructions
Create a new branch from another branch (default: the repo's default branch). push_files can also do this implicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (without owner) | |
| owner | No | Repo owner; defaults to GITHUB_DEFAULT_OWNER | |
| branch | Yes | Name for the new branch | |
| from_branch | No | Source branch (default: default branch) |