Skip to content

Details

Press l or right to open the details view for the highlighted revision. It shows all files changed in that revision with their status (Added, Modified, Deleted, Renamed, Copied). Conflict markers are shown next to files with conflicts.

Press esc, left, or h to close and return to the revision list.

GIF

  • m or space: toggle-select the highlighted file (cursor advances automatically)
  • Most operations act on selected files. If no files are selected, the operation uses the highlighted file.
  • Click: move cursor
  • Ctrl+click: toggle-select a file
  • Alt+click: range-select from the previous cursor position to the clicked file

Press d to view the diff of the highlighted file in the diff viewer.

GIF

Press r to restore selected files (jj restore). A confirmation appears:

  • Yes: restores the files non-interactively. Selected files “gets restored”, unselected “stays as is”.
  • Interactive (i): opens the interactive restore editor.
Details restore

Press s to split selected files out of the revision. Selected files stay in the current revision; unselected files move to a new revision. A confirmation appears:

  • Yes: non-interactive split.
  • Interactive (i): opens the split editor to choose individual hunks.

Press alt+s for a parallel split instead.

Press shift+s to open Squash mode pre-filled with the selected files. Use this to move specific files into a different revision.

Press shift+a to run jj absorb on the selected files.

Press * to change the active revset to files(<filename>), showing all revisions that touched the highlighted file.

Details changing file
Contribute Community