git log --grep='bugfix'

Category: Git - Core

git log --grep='bugfix'

Filter commits whose messages contain a keyword

Searches commit messages for a keyword and shows only matching commits.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.