Navigate git history without losing your way
Lattice renders your repository's commit graph in the terminal and lets you jump between any point in history with arrow keys, just like paging through docs.
lattice install
Features
Keyboard-driven
Navigate with arrow keys, vim motion, and fuzzy search. No mouse needed. Every commit is one keystroke away.
Full DAG rendering
See the entire commit graph, merges, and rebases. Lattice computes the DAG layout so you always know where you are.
Instant diff previews
Press Enter on any commit to see the diff inline. Switch between compact, unified, and stat views without leaving the graph.
Demo
How it works
Read the object graph
Lattice uses libgit2 to parse your repository's commit graph directly, so it works on repos with thousands of branches in under 100ms.
Render to your terminal
The commit DAG is laid out using Sugiyama-style layered graph rendering, then drawn with Unicode box-drawing characters in your terminal.
Navigate and inspect
Move between commits with keyboard shortcuts. View diffs, blame, and file trees inline. Type / to fuzzy-search any commit.
Stop digging through git log
See your entire history. Navigate it like a proper tool.
lattice install