jj change IDs support numeric suffixes for hidden and divergent changes
Introduced 2026-01-08 · score 0.93
HOW TO USE IT
When recovering the previous contents of a hidden or divergent change, use the numeric suffix shown in the log to select it, then run `jj restore --from <change-id>/1 --to <change-id>`.
jj restore --from <change-id>/1 --to <change-id>WHY THIS HELPS
Restore a change from its previous version after an accidental edit.
REQUIREMENTS AND LIMITATIONS
- Version: v0.37.0
- --from <change-id>/1 (required): Select the previous version of the change as the restore source; `/1` refers to the previous version.
- --to <change-id> (required): Select the change whose contents are to be restored.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON