Short form: -n limit
Role: Show recent checkpoints, like git log. Lists checkpoints from the data DB with session counts.
Invocation: rekal log [--limit N].
See preconditions.md: git repo, init done. Reads from data DB; no index required.
- Run shared preconditions — Git root, init done.
- Query checkpoints —
SELECTfromcheckpointsjoined withcheckpoint_sessionsfor session count, ordered byts DESC. - Apply limit — Show at most
--limitentries (default: 20). - Output — Git-log style, one block per checkpoint:
checkpoint <ULID> Date: 2026-02-25T10:00:00Z Commit: abc123... Branch: main Author: alice@example.com Sessions: 2
| Flag | Meaning |
|---|---|
--limit <n> |
Max entries to show (default: 20) |
rekal log
rekal log --limit 10