1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Cover searching code by enterprise: (#58231)

Co-authored-by: Luke Francl <look@recursion.org>
This commit is contained in:
Jason Orendorff
2025-11-04 03:51:08 -06:00
committed by GitHub
parent 14d3198b85
commit 54088ad375

View File

@@ -100,6 +100,7 @@ You can use parentheses to express more complicated boolean expressions. For exa
You can use specialized keywords to qualify your search.
* [Repository qualifier](#repository-qualifier)
* [Organization and user qualifiers](#organization-and-user-qualifiers)
* [Enterprise qualifier](#enterprise-qualifier)
* [Language qualifier](#language-qualifier)
* [Path qualifier](#path-qualifier)
* [Symbol qualifier](#symbol-qualifier)
@@ -140,6 +141,16 @@ user:octocat
> [!NOTE]
> Code search does not currently support regular expressions or partial matching for organization or user names, so you will have to type the entire organization or user name for the qualifier to work.
### Enterprise qualifier
To search for files within an enterprise, use the `enterprise:` qualifier. For example:
```text
enterprise:octocorp
```
This searches repositories owned by organizations in the `octocorp` enterprise. User-owned repositories are not included.
### Language qualifier
To narrow down to a specific languages, use the `language:` qualifier. For example: