Linux command
serie 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display the commit graph for the current repository
serie
Limit display to a number of commits
serie -n [100]
Use topological commit ordering
serie -o topo
Use angular edge style with double-width cells
serie -s angular --graph-width double
说明
serie renders rich git commit graphs directly in the terminal using terminal image protocols (iTerm2 inline images or Kitty graphics). It provides a visual alternative to git log --graph --all with customizable graph styles, commit ordering, and interactive browsing. Press ? inside the TUI to view the keybinding cheat sheet.
参数
- -n, --max-count _NUMBER_
- Maximum number of commits to render.
- -p, --protocol _TYPE_
- Image protocol: auto, iterm, kitty, or kitty-unicode. Default: auto.
- -o, --order _TYPE_
- Commit ordering: chrono or topo. Default: chrono.
- -g, --graph-width _TYPE_
- Cell width: auto, double, or single.
- -s, --graph-style _TYPE_
- Edge style: rounded or angular.
- -i, --initial-selection _TYPE_
- Commit selected on startup: latest or head.
- -h, --help
- Show help text and exit.
- -V, --version
- Print version and exit.
FAQ
What is the serie command used for?
serie renders rich git commit graphs directly in the terminal using terminal image protocols (iTerm2 inline images or Kitty graphics). It provides a visual alternative to git log --graph --all with customizable graph styles, commit ordering, and interactive browsing. Press ? inside the TUI to view the keybinding cheat sheet.
How do I run a basic serie example?
Run `serie` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -n, --max-count _NUMBER_ do in serie?
Maximum number of commits to render.