git search in commit messages code example Example: search by commit message git log --all --grep='Build 0051'