gh search commits 'fix null pointer' --repo owner/repo

Category: GitHub CLI

gh search commits 'fix null pointer' --repo owner/repo

Search commits by message text in a specific repository

Searches commit messages for a specific text string within a repository.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.