sincecutoff.com
← all changes

jj converge resolves divergent commits

Introduced 2026-09-03 · score 0.93

HOW TO USE IT

When divergence should be reconciled automatically, run `jj converge`; it uses `revsets.converge` by default and creates a replacement revision using heuristics. If prompts must be avoided, add `--no-interactive`; it warns and exits without changes if it cannot resolve automatically.

jj converge
jj converge --revisions '<REVSET>'
jj converge --no-interactive

WHY THIS HELPS

Resolve divergent commits in a repository when automatic reconciliation is appropriate.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.45.0
  • --revisions REVSET (alias: --revision, -r): Search for divergence among revisions matching the revset; defaults to the `revsets.converge` setting (`mutable() & divergent()`).
  • --no-interactive: Do not prompt; if automatic resolution fails, warn and exit without changes.
  • Heuristics may be inconclusive, in which case the command prompts the user.
  • In non-interactive mode, the command aborts if prompting would be needed.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card