Linux command
jj-log 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show log
jj log
Show with diff
jj log -p
Limit entries
jj log -n [10]
Filter revisions
jj log -r "[revset]"
Show all commits
jj log -r "all()"
Compact format
jj log --template builtin_log_oneline
说明
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.
参数
- -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.
FAQ
What is the jj-log command used for?
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.
How do I run a basic jj-log example?
Run `jj log` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r _REVSET_ do in jj-log?
Revision set to show.