commands.sh

jj operation

all

Work with the operation log of a `jj` repository.

More info →

Options (3)

boolean

Show operation log

Example: jj {{[op|operation]}} log
-s, --summaryboolean

Show stat, summary, and patch of modifications of an operation

Example: jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}
-p, --patchboolean

Show stat, summary, and patch of modifications of an operation

Example: jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}

Examples (6)

Show operation log

jj [op|operation] log

Undo the last operation

jj [op|operation] undo

Undo a given operation

jj [op|operation] undo operation

Restore the repository to its state at a given operation

jj [op|operation] restore operation

Show changes to the repository in an operation

jj [op|operation] show operation

Show stat, summary, and patch of modifications of an operation

jj [op|operation] show --stat [-s|--summary] [-p|--patch] operation
made by @shridhargupta | data from tldr-pages