TIL that git log takes a grep option! You can search for commit message containing a string with $ git log --all --grep='my search string'