LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-show

Display details of a change

TLDR

Show the current change (working copy)
$ jj show
copy
Show a specific revision
$ jj show [revset]
copy
Show a histogram of changes
$ jj show --stat
copy
Show only a summary of changed files
$ jj show -s
copy
Show a Git-format diff
$ jj show --git
copy
Use a custom output template
$ jj show -T "[template]"
copy

SYNOPSIS

jj show [options] [revsets...]

DESCRIPTION

jj show displays details of a change in a Jujutsu repository, including description, author, timestamps and the diff compared to its parent. Output can be customized with templates and a variety of diff-formatting options.

PARAMETERS

REVSETS

Revision(s) to display (default: @, the working-copy commit).
-T, --template TEMPLATE
Render each revision using the given template.
-p, --patch
Display the patch compared to the parent revision.
-s, --summary
For each path, show only whether it was modified, added, or deleted.
--stat
Show a histogram of the changes.
--types
For each path, show only its type (F=file, L=symlink, C=conflict, G=Git submodule).
--name-only
For each path, show only its path.
--git
Show a Git-format diff.
--color-words
Show word-level diff with changes indicated only by color.
--tool TOOL
Generate diff via an external command.
--context N
Number of lines of context to show.
-w, --ignore-all-space
Ignore whitespace when comparing lines.
-b, --ignore-space-change
Ignore changes in amount of whitespace when comparing lines.

CAVEATS

Subcommand of jj. The symbol `@` refers to the working-copy commit. Template syntax is specific to Jujutsu; see `jj help -k templates`.

HISTORY

jj show is part of Jujutsu (jj), a Git-compatible DVCS, providing detailed inspection of individual changes.

SEE ALSO

jj(1), jj-log(1), jj-diff(1)

Copied to clipboard
Kai