Categories
Uncategorized

Search Git commit history

To search through all branches and all history of a git repo to find commits that contained a string, use:

git log --full-history --all -S "search term"

By bo.

I'm @boyEatsSteak in a lot of places. I have been wanting 🍕 for weeks. I like gadgets and technology and keeping notes and tips for my future self since all I can remember is that I forget things.