Photo of Paul

Paul Rosania

Hi! I'm Paul. I work at Balsa.
You should follow me at @ptr.
I can also be reached at

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.