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
Merge with Custom Message
Preview Merge (Dry Run)
Force Merge Commit
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
Already Up to Date
Branch Not Found
vibe branch or fetch latest with vibe fetch.
Merge Failed
Related Commands
- vibe branch - List and manage branches
- vibe checkout - Switch branches
- vibe diff - Compare branches before merging
