Skip to main content

In this article

Git Merge

Git Merge
FieldValue
Kindprompt
Source.github/prompts/hve-core/git-merge.prompt.md
InvocationSlash command /git-merge
InteractiveYes

What it does​

Coordinate Git merge, rebase, and rebase --onto workflows with conflict handling

When to use it​

Use this prompt to coordinate a Git merge, rebase, or rebase-onto operation with explicit conflict handling. Use ordinary Git inspection when you only need to compare branches or view history.

How to use it​

Choose the operation, identify the branch and any upstream or onto target, and set conflictStop=true when conflicts must return control immediately. Review history-changing operations carefully; the prompt does not push automatically.

Example usage​

/git-merge operation=rebase branch=origin/main conflictStop=true

The prompt rebases the current work onto the named branch and stops for user-directed conflict resolution if needed.