jj log -r <revset> [-p] # View history (-p: diffs)
jj show -r <rev> # Revision details
jj new [-A] <base> # Create revision (-A: insert after)
jj edit <rev> # Switch to revision
jj desc -r <rev> -m "text" # Set description
jj diff # Changes in @
jj restore <fileset> # Discard changes
jj rebase -s <src> -o <dest> # Rebase onto dest
jj undo # Undo last operation
jj log -r <revset> [-p] # View history (--patch/-p: include diffs)
jj log -r <revset> -G # -G is short for --no-graph
jj show -r <rev> # Show revision details (description + diff)
jj evolog -r <rev> [-p] # View a revision's evolution
jj new [-A] <base> # Create revision and edit it (-A: insert after base)
jj new --no-edit <base> # Create without switching
jj edit <rev> # Switch to editing revision
jj desc -r <rev> -m "text" # Set description
jj metaedit -r <rev> -m "text" # Modify metadata (author, timestamps, description)
jj diff # Changes in @
jj diff -r <rev> # Changes in revision
jj file show -r <rev> <fileset> # Show file contents at revision
jj restore <fileset> # Discard changes to files
jj restore --from <commit-id> <fileset> # Restore from another revision
jj split -r <rev> <paths> -m "text" # Split into two revisions
jj absorb # Auto-squash changes into ancestor commits
jj rebase -s <src> -o <dest> # Rebase with descendants onto dest
jj rebase -r <rev> -o <dest> # Rebase single revision onto dest
jj rebase -s 'a | b | c' -o <dest> # Batch: multiple roots via revset union
jj file annotate <path> # Blame: who changed each line
jj bisect run -- <cmd> # Binary search for bug-introducing commit
jj undo # Undo last operation (progressive)
jj redo # Redo undone operation
jj sign -r <rev> # Cryptographically sign commit
jj unsign -r <rev> # Remove signature
jj revert -r <rev> # Create commit that reverts changes
jj tag set <name> -r <rev> # Create/update local tag
jj tag delete <name> # Delete local tag
jj git colocation enable # Convert to colocated repo
jj git colocation disable # Convert to non-colocated
jj op log # Find operation before problem
jj op restore <op-id> # Restore WHOLE repository to that state
Converted and distributed by TomeVault — claim your Tome and manage your conversions.