gh search code 'TODO:' --repo owner/repo

Category: GitHub CLI

gh search code 'TODO:' --repo owner/repo

Search for code patterns within a specific repository

Searches the code of a repository for a specific pattern (like searching with Ctrl+Shift+F in an IDE).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.