gitlab_cherry_pick_commit
Apply a specific commit to another branch by creating a new commit, enabling backporting fixes or selective changes without merging. Requires commit SHA and target branch.
Instructions
Apply a specific commit to another branch without merging. Creates a new commit on target branch. Useful for backporting fixes or selective change application.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Git branch name (string, required). Target branch for commits. Must exist. Example: 'feature/new-feature' | |
commit_sha | Yes | Git commit SHA (string). Can be abbreviated (min 7 chars) or full 40-character SHA | |
project_id | No | Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided |