teletype[beta]

Three git log flags that change how you read history

Default git log dumps the world: author, email, timestamp, full message — a wall per commit. You want a slice. Three flags do most of the work.

1. --oneline

Every commit on a single line: short SHA + subject. That's it. No author, no email, no timestamp wall. When you're scanning, this is the form that fits in your head.

git log --oneline -10

2. --graph --all --decorate

Now you want shape, not just a list. --graph draws the branch topology with ASCII; --all brings every ref into view (not just HEAD); --decorate tags each commit with its branch/tag name. Together they turn the log into a map.

git log --oneline --graph --all --decorate -8

3. --author

Most of the time you don't want all of history — you want one person's history. --author filters by name or email substring, case insensitive. Pair it with --since="1 week ago" when you need a standup of just your own commits.

git log --author=dependabot --oneline -6

That's it. No GUI required. Three flags, in your fingers, for the rest of your career.

Recorded with Teletype.

A Mac app for terminal recordings that don't look like terminal recordings. Auto-removes typos, zooms on commands, redacts what you don't want shown.

Download for macOS