git log filter by message code example
Example 1: search by message git
git log --all --grep='Build 0051'
Example 2: git get latest log output to file
git log --oneline -50 > log50_latest_commits.txt
git log --all --grep='Build 0051'
git log --oneline -50 > log50_latest_commits.txt