commands.sh

jj log

all

Show revision history as a graph.

More info →

Options (2)

-r, --revisionsboolean

Show only given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.)

Example: jj log {{[-r|--revisions]}} {{revsets}}
-T, --templateboolean

Show log with a particular template for each line (e.g. 5 characters of commit hash and author)

Example: jj log {{[-T|--template]}} 'commit_id.shortest(5) ++ " " ++ author'

Examples (3)

Show revision history as a graph

Show only given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.)

jj log [-r|--revisions] revsets

Show log with a particular template for each line (e.g. 5 characters of commit hash and author)

jj log [-T|--template] 'commit_id.shortest(5) ++ " " ++ author'
made by @shridhargupta | data from tldr-pages