LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-operation-show

show repository changes made by a Jujutsu operation

TLDR

Show the current operation versus its parent
$ jj operation show
copy
Show a specific operation
$ jj op show [operation-id]
copy
Include patches of modified changes
$ jj op show --patch [operation-id]
copy
Summary of changed paths
$ jj op show --summary [operation-id]
copy
Histogram of changes
$ jj op show --stat [operation-id]
copy
Flat list without the graph
$ jj op show --no-graph [operation-id]
copy

SYNOPSIS

jj operation show [options] [operation]

DESCRIPTION

jj operation show (alias jj op show) displays what one operation changed relative to its parent(s). The default operation is `@`, the operation that produced the current repo state.This is the usual way to review the last command (jj op show -p) or to inspect an ID copied from jj operation log. jj absorb, jj fix, and jj converge point at jj op show -p as the way to review their result.To compare two arbitrary operations rather than one operation and its parent, use jj operation diff --from / --to.

PARAMETERS

OPERATION

Operation to inspect, compared to its parent(s). Default: `@` (the current operation).
-p, --patch
Show a patch of modifications to changes.
-s, --summary
For each path, show only whether it was modified, added, or deleted.
--stat
Show a histogram of the changes.
-G, --no-graph
Flat list of modified changes instead of a graph.
-T, --template TEMPLATE
Render the operation with a template expression.
--no-op-diff
Do not show the operation diff.
--git
Show a Git-format diff.
--name-only
Print only changed paths.
--show-changes-in REVSETS
Restrict to changed revisions matching the revset.
--tool TOOL
Generate the diff with an external command, or a builtin such as `:git`.
--help
Display help information.

INSTALL

sudo pacman -S jujutsu
copy
sudo apk add jujutsu
copy
sudo zypper install jujutsu
copy
brew install jujutsu
copy
nix profile install nixpkgs#jujutsu
copy

CAVEATS

Subcommand of jj. Operation IDs come from jj op log, not from jj log. --patch may temporarily rebase an older change onto new parents so the patch is isolated. --no-op-diff still prints operation metadata.

SEE ALSO

RESOURCES

Copied to clipboard
Kai