git_merge_branch
Merge a source branch into the current or target branch in a Git repository, with options to enforce a merge commit for non-fast-forward scenarios.
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) |