How To Find All git Commits Containing a Specific Log Message
![Calendar](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
Show commits and messages that match
1 |
git log --all --grep='SEARCH_STRING_HERE' |
Include code diffs
1 |
git log --all --grep='SEARCH_STRING_HERE' -p |
Include file names
1 |
git log --all --grep='SEARCH_STRING_HERE' --name-only |