Command

okulo log

Summarize the Git history Okulo will analyze — commits, authors, files, and date range.

orientationfast

When to use it

Run this first when numbers look wrong, after a shallow clone, or when changing -w. If log looks empty, every other command will too.

Usage

okulo log [repo] [options]

Options

OptionDefaultDescription
-w, --window12mHistory window to summarize
-f, --formattabletable or json (JSON dumps every commit + files)

Examples

Check the default window

okulo log
okulo log -w 6m
okulo log ~/code/my-repo -w 90d

Export full history for custom tooling

okulo log -f json -o commits.json
jq '.commits | length' commits.json

Sample output

Illustrative terminal output (column layout matches the real CLI):

Git history  window: 6m
  commits   1842
  authors   24
  files     961
  range     2025-04-10 → 2025-10-10

author           commits  share
───────────────  ───────  ─────
Ada Lovelace         412    22%
Grace Hopper         301    16%
Alan Turing          188    10%
…

How to read it

Tips

Related