gitCheckout
Switch to an existing branch or create a new branch from HEAD or a specified base. Branch creation is optional with a configurable base.
Instructions
Switch to a branch, or create and switch to a new branch. Use create: true to create from HEAD or a specified base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to switch to or create | |
| create | No | Create branch if it doesn't exist. Default: false. | |
| base | No | Base branch or commit to create from (only when create: true). Defaults to HEAD. |