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