git_merge_branch
Merge a specified source branch into the current or target Git repository branch, with options to disable fast-forward for merge commits, simplifying branch management within Git Repo Browser MCP.
Instructions
Merge a source branch into the current or target branch.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
no_fast_forward | No | Whether to create a merge commit even if fast-forward is possible | |
repo_path | Yes | The path to the local Git repository | |
source_branch | Yes | Branch to merge from | |
target_branch | No | Branch to merge into (optional, uses current branch if not provided) |
Input Schema (JSON Schema)
{
"properties": {
"no_fast_forward": {
"default": false,
"description": "Whether to create a merge commit even if fast-forward is possible",
"type": "boolean"
},
"repo_path": {
"description": "The path to the local Git repository",
"type": "string"
},
"source_branch": {
"description": "Branch to merge from",
"type": "string"
},
"target_branch": {
"description": "Branch to merge into (optional, uses current branch if not provided)",
"type": "string"
}
},
"required": [
"repo_path",
"source_branch"
],
"type": "object"
}