Resolving Merge Conflicts
Use Branqo's 3-pane conflict editor to resolve merge conflicts visually.
Resolving Merge Conflicts
When a merge, rebase, or cherry-pick results in conflicts, Branqo provides a powerful 3-pane conflict editor to resolve them visually.
Detecting Conflicts
When a conflict occurs:
- Branqo shows a notification with the number of conflicted files
- The Changes panel highlights conflicted files with a red icon
- Click any conflicted file to open the conflict editor
The 3-Pane Editor
The conflict editor shows three panes:
- Left (Ours): Your changes (the branch you're merging into)
- Right (Theirs): Their changes (the branch being merged)
- Bottom (Result): The merged result that will be saved
Resolving Conflicts
For each conflict region:
- Click Accept Ours to keep your changes
- Click Accept Theirs to keep their changes
- Click Accept Both to include both changes
- Or manually edit the result pane
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Accept Ours | Alt+1 |
| Accept Theirs | Alt+2 |
| Accept Both | Alt+3 |
| Next Conflict | Alt+Down |
| Previous Conflict | Alt+Up |
AI Conflict Resolution (Premium)
Premium users can use AI to suggest conflict resolutions:
- Click the AI Resolve button in the conflict editor toolbar
- The AI analyzes both sides of the conflict and suggests a merged result
- Review the suggestion in the result pane
- Accept, modify, or reject the suggestion
The AI considers the surrounding code context, variable names, and logic flow to produce intelligent merges — not just line-by-line comparisons.
Privacy
Before sending code to the AI:
- The Secret Scanner (on by default) redacts API keys, passwords, tokens, and other secrets
- Only the conflicted regions and surrounding context are sent — not the entire file
- Code is processed and immediately discarded — never stored or used for training
After Resolving
Once all conflicts in a file are resolved:
- Click Mark as Resolved in the conflict editor
- Repeat for all conflicted files
- Click Continue Merge (or Continue Rebase) in the toolbar