git_checkout
Switch to a specified branch or commit in a git repository, with the option to create a new branch if it does not exist, for efficient repository management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Branch or commit to checkout | |
create | No | Create new branch if it does not exist | |
repository_path | Yes | Path to the git repository |