How to search in commit messages using command line?
How to search through all commits in the repository?
Is there a way to search through commit headers using the command line?
2 Solutions collect form web for “How to search in commit messages using command line?”
git log --grep=<pattern> Limit the commits output to ones with log message that matches the specified pattern (regular expression).
–git help log
git log --oneline | grep PATTERN