Skip to content

search docs: update predicate docs to reflect new `repo:has...` syntax

Administrator requested to merge tl/update-docs-preds-has-syntax into main

Created by: tbliu98

Stacked on #40765 Part of https://github.com/sourcegraph/sourcegraph/issues/39767

Updates search query docs to reflect the new repo:has... predicate syntax. For now, existing predicates using repo:contains syntax still work.

repo: predicates have been updated: Screen Shot 2022-08-23 at 5 28 14 PM

file: predicates have been updated: Screen Shot 2022-08-23 at 5 29 21 PM

Examples have been updated. Docs on repohasfile and repohascommitafter have been removed as they were already marked as deprecated and the new syntax effectively takes their place.

Test plan

Manually verify docsite updates

Merge request reports

Loading