rimba merge-plan

Analyze file overlaps between worktree branches and recommend an optimal merge order that minimizes conflicts. Run this before a multi-branch merge to sequence merges in the safest order.

Synopsis

rimba merge-plan

Examples

rimba merge-plan
ORDER  BRANCH       CONFLICTS
1      fix-login    0
2      auth-flow    1
3      ui-cleanup   2

Merge in this order to minimize conflicts.

Common workflows

Plan a sprint landing

rimba merge-plan
# Merge branches in the printed order to minimize conflicts:
rimba merge fix-login
rimba merge auth-flow
rimba merge ui-cleanup

Combine with conflict-check for a full picture

rimba conflict-check   # Which files overlap?
rimba merge-plan       # In what order should I merge?

This site uses Just the Docs, a documentation theme for Jekyll.