Paul Rosania

Hi! I'm Paul. I work at Slack.
You should follow me at @ptr.
I can also be reached at paul@rosania.org.

A shell one-liner

February 21, 2012

git log --grep <query> | sed -n '/^commit/p' | cut -d\  -f 2 | xargs git show

Show all changesets matching query. Useful for reviewing a series of related changes over time. (Assuming consistent commit message habits.)

Don't fear the shell.