git MCP server

git_create_branch

Create a new branch in a Git repository by specifying the repository path, branch name, and optional base branch for streamlined development and version control.

Instructions

Creates a new branch from an optional base branch

Input Schema

NameRequiredDescriptionDefault
base_branchNo
branch_nameYes
repo_pathYes

Input Schema (JSON Schema)

{ "properties": { "base_branch": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Base Branch" }, "branch_name": { "title": "Branch Name", "type": "string" }, "repo_path": { "title": "Repo Path", "type": "string" } }, "required": [ "repo_path", "branch_name" ], "title": "GitCreateBranch", "type": "object" }

Other Tools from git MCP server

Related Tools

ID: 2sijuvbdae