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
A command-line tool for git history
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.
chore: ship 1.3.0
Why Lattice
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 * 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 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
No dashboards, no cloud sync, no telemetry. Four quiet promises, held by a single binary.
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
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
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
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
Lattice ships as a single self-contained binary. Pick your package manager, or drop it straight into your PATH.
$ 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
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