branch_create
Create a new Git branch with optional tracking, upstream setup, and force creation if it exists. Specify the branch name and repository path to manage repository workflow efficiently.
Instructions
Create a new branch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
force | No | Force create branch even if it exists | |
name | Yes | Branch name | |
path | No | Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo) | |
setUpstream | No | Set upstream for push/pull | |
track | No | Set up tracking mode |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Git MCP Server
Related Tools
- @skydeckai/mcp-server-aidd
- @Sheshiyer/git-mcp-v2
- @modelcontextprotocol/github
- @modelcontextprotocol/git
- @skydeckai/mcp-server-aidd