Grep your git commit log

This is more for my reference in the future. But if you want to search you commit history for a specific a term that changed in one of your commits, then you can issue the following command:

git grep your-regex-here $(git rev-list --all)

For example I did git grep "\'load" $(git rev-list --all) to find the commit that had me removing 'load'.


I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

I'm trialing a newsletter, you can subscribe below (thank you!)