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