LinuxCommandLibrary

jj-log

displays the revision history

TLDR

Show log
$ jj log
copy
Show with diff
$ jj log -p
copy
Limit entries
$ jj log -n [10]
copy
Filter revisions
$ jj log -r "[revset]"
copy
Show all commits
$ jj log -r "all()"
copy
Compact format
$ jj log --template builtin_log_oneline
copy

SYNOPSIS

jj log [options]

DESCRIPTION

jj log displays the revision history. It shows a graph of changes with descriptions and metadata.
The command supports revsets for filtering. It visualizes branches and merges in the history graph.

PARAMETERS

-r REVSET

Revision set to show.
-p, --patch
Show diff.
-n LIMIT
Maximum entries.
--template TEMPLATE
Output template.
--no-graph
Disable graph display.
--help
Display help information.

CAVEATS

Subcommand of jj. Revset syntax differs from Git. Shows working copy by default.

HISTORY

jj log is part of Jujutsu, providing revision history viewing with its unique change-based model.

SEE ALSO

jj(1), jj-show(1), jj-evolog(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard