← 返回命令列表

Linux command

jj-show 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show the current change

jj show

Show a specific revision

jj show [revset]

Show a histogram of changes

jj show --stat

Show only a summary

jj show -s

Show a Git-format diff

jj show --git

Use a custom output template

jj show -T "[template]"

说明

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.

参数

-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.

FAQ

What is the jj-show command used for?

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.

How do I run a basic jj-show example?

Run `jj show` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -T, --template _TEMPLATE_ do in jj-show?

Render each revision using the given template.