A command-line tool for git history

Every commit
has a place.

Lattice turns your commit graph into a quiet, walkable lattice. Fuzzy search across every ref, ancestry paths from any commit, and a keyboard-first walk through history. Read-only and offline by design.

Interactive commit graph

lattice · main (v1.3.0)
feature/graph feature/search main v1.2.0 HEAD
9f2c1a4 HEAD 2026-11-19 · 2 days ago

chore: ship 1.3.0

A. Reyes · 1 parent · 0 descendants

←→step nolder pnewer gto HEAD Tab to the graph, then use arrows
Read-only Offline Single binary Git ≥ 2.20

Why Lattice

The same history,
made legible.

git log --graph prints the shape of your repository as a wall of ASCII art. Lattice reads the same DAG and renders it as a lattice you can stand inside: scan it, search it, and walk it commit by commit.

git log --graph --oneline --all
$ git log --graph --oneline --all
*   9f2c1a4 (HEAD -> main, v1.3.0) chore: ship 1.3.0
|\
| * e7b3c21 docs: tune the landing page
|/
*   1c7d9b3 perf(graph): sixty fps walk
|
*   4b8e0dd (v1.2.0) merge: graph + search
|\
| * b2c8e40 feat(search): ranked results
| * a9f31d7 fix(graph): dedupe overlapping paths
|/
*   1c8d9a7 feat(core): rev-walk engine
*   3ab708e chore: seed the lattice
lattice log
$ lattice log
main     9f2c1a4  chore: ship 1.3.0               2d   HEAD
main     e7b3c21  docs: tune the landing page     2w  
main     1c7d9b3  perf(graph): sixty fps walk     4w  
main     4b8e0dd  merge: graph + search           5w   v1.2.0
search   b2c8e40  feat(search): ranked results    6w  
graph    a9f31d7  fix(graph): dedupe paths        7w  

Inside Lattice

Built for how you
actually work.

No dashboards, no cloud sync, no telemetry. Four quiet promises, held by a single binary.

Find anywhere

Fuzzy search across every commit, ref and tag in your repository. What matches is ranked for relevance, never buried in an git log --grep scroll.

lattice search "retry"
→ 3 matches · ranked

Follow a path

Trace any commit back to the root, or straight across the lattice between two commits. The shape of your history is one command away.

lattice path <a>..<b>
→ 2 parents · 1 merge

Walk the pager

A keyboard-first walk through history. Arrows move, g jumps to HEAD, and the current commit stays in view the whole time.

n/← older · p/→ newer
g · jump to HEAD

Read-only & offline

Lattice never pushes, never rewrites, never talks to the network. It only reads your history, from a single binary you already know.

network: never
writes: never

Install

One binary.
No dependencies.

Lattice ships as a single self-contained binary. Pick your package manager, or drop it straight into your PATH.

install
$ brew install lattice          # macOS & Linux
$ cargo install --locked lattice   # from source
$ scoop install lattice         # Windows

Requirements · macOS, Linux or Windows (Git Bash) · git ≥ 2.20 · reads a local repository only

Ready when you are

See your history.

Lattice works from any checkout, in any terminal you keep open. Start at HEAD, walk to the root, and find anything you once forgot about.

Get Lattice Back to the lattice