git_switch
Switches the repository to an existing branch and lets Git block the checkout if local changes would be overwritten.
Instructions
Switch to an existing branch. Git refuses if it would overwrite local changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| repo | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |