Search for a string in all git branches

Blog

Yay, git grep!

git grep "string/regexp" $(git rev-list --all)

I love that it works with regular expressions, too.

Add new comment