Usage
Description
Merge the specified branch into the current branch. This combines the commit history from both branches.
Arguments
Branch to merge into the current branch.
Options
Custom merge commit message.
Create a merge commit even if fast-forward is possible.
Show what would be merged without actually merging.
Examples
Basic Merge
Output:
Merge with Custom Message
Preview Merge (Dry Run)
Output:
Force Merge Commit
Creates a merge commit even when fast-forward is possible, preserving branch history.
Merge Types
Fast-Forward Merge
When the target branch has no new commits since the source branched off, Git can simply move the pointer forward.
Merge Commit
When both branches have diverged, a merge commit is created.
Workflow Example
Error Messages
Cannot Merge into Itself
Solution: Switch to the target branch first, then merge the source branch.
Already Up to Date
This means there are no new commits to merge.
Branch Not Found
Solution: Check the branch name with vibe branch or fetch latest with vibe fetch.
Merge Failed
Solution: Resolve conflicts manually in the web interface or use force options.