Skip to main content
Search indexed Entire history from the CLI.
By default, search is scoped to the current repository. Use --repo, --all-repos, or repo:* to change the scope. Run without arguments to open interactive search. Use --json for machine-readable output.

Examples

Flags

FlagDescription
--all-reposSearch all accessible repositories instead of only the current repository.
--author NAMEFilter by author name.
--branch NAMEFilter by branch name.
--date PERIODFilter by time period. Use week or month.
--jsonOutput as JSON.
--limit NMaximum number of results per page. Default is 10.
--page NPage number, 1-based. Default is 1.
--repo OWNER/REPOFilter by repository. Use '*' to search all accessible repositories.

Inline Filters

CLI queries also support inline filters:
Supported inline filters are:
  • author:NAME
  • date:week|month
  • branch:NAME
  • repo:OWNER/NAME
  • repo:*

Semantic Search

Learn what entire search finds and when to use it.

Search Past Agent Work

Practice search with a guided tutorial.