Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Line Options

-p, --protocol <TYPE>

A protocol type for rendering images of commit graphs.

Possible values: auto, iterm, kitty

By default auto will guess the best supported protocol for the current terminal (if listed in Supported terminal emulators).

-o, --order <TYPE>

Commit ordering algorithm.

Possible values: chrono, topo

chrono will order commits by commit date if possible.

topo will order commits on the same branch consecutively if possible.

-g, --graph-width <TYPE>

The character width that a graph image unit cell occupies.

Possible values: auto, double, single

If not specified or auto is specified, double will be used automatically if there is enough width to display it, single otherwise.

-s, --graph-style <TYPE>

The commit graph image edge style.

Possible values: rounded, angular

rounded will use rounded edges for the graph lines.

angular will use angular edges for the graph lines.

-i, --initial-selection <TYPE>

The initial selection of commit when starting the application.

Possible values: latest, head

latest will select the latest commit.

head will select the commit at HEAD.

--preload

By default, graph images are generated and loaded lazily as needed.

If --preload is specified, all graph images will be generated and loaded at startup. This can result in smoother scrolling, as the images are already available, and might reduce memory usage. However, this may lead to slower startup times, especially for large repositories.