You can search for discussions globally across all of GitHub, or search for discussions within a particular organization or repository. Weitere Informationen findest Du unter „Informationen zur Suche auf GitHub.“
- Eine Liste mit Suchsyntax, die Du jedem Qualifizierer hinzufügen kannst, um Deine Ergebnisse zu verbessern, findest Du unter „Grundlagen der Suchsyntax“.
- Schließe Suchbegriffe, die aus mehreren Wörtern bestehen, in Anführungszeichen ein. Möchtest Du beispielsweise nach Issues mit der Kennzeichnung „In progress“ suchen, gib
label:"in progress"ein. Bei der Suche wird die Groß-/Kleinschreibung ignoriert.
in qualifier you can restrict your search for discussions to the title, body, or comments. You can also combine qualifiers to search a combination of title, body, or comments. When you omit the
in qualifier, GitHub searches the title, body, and comments.
|welcome in:title matches discussions with "welcome" in the title.|
|onboard in:title,body matches discussions with "onboard" in the title or body.|
|thanks in:comments matches discussions with "thanks" in the comments for the discussion.|
To search discussions in all repositories owned by a certain user or organization, you can use the
org qualifier. To search discussions in a specific repository, you can use the
|user:octocat feedback matches discussions with the word "feedback" from repositories owned by @octocat.|
|org:github matches discussions in repositories owned by the GitHub organization.|
|repo:nodejs/node created:<2021-01-01 matches discussions from @nodejs' Node.js runtime project that were created before January 2021.|
You can filter by the visibility of the repository containing the discussions using the
is qualifier. Weitere Informationen findest Du unter „Über Sichtbarkeit von Repositorys."
| Qualifier | Example | :- | :- | |
is:public | is:public matches discussions in public repositories. |
is:internal | is:internal matches discussions in internal repositories. |
is:private | is:private tiramisu matches discussions that contain the word "tiramisu" in private repositories you can access.
author qualifier finds discussions created by a certain user.
|cool author:octocat matches discussions with the word "cool" that were created by @octocat.|
|bootstrap in:body author:octocat matches discussions created by @octocat that contain the word "bootstrap" in the body.|
commenter qualifier finds discussions that contain a comment from a certain user.
|github commenter:becca org:github matches discussions in repositories owned by GitHub, that contain the word "github," and have a comment by @becca.|
You can use the
involves qualifier to find discussions that involve a certain user. The qualifier returns discussions that were either created by a certain user, mention the user, or contain comments by the user. The
involves qualifier is a logical OR between the
commenter qualifiers for a single user.
|involves:becca involves:octocat matches discussions either @becca or @octocat are involved in.|
|NOT beta in:body involves:becca matches discussions @becca is involved in that do not contain the word "beta" in the body.|
You can use the
comments qualifier along with greater than, less than, and range qualifiers to search by the number of comments. For more information, see "Understanding the search syntax."
|comments:>100 matches discussions with more than 100 comments.|
|comments:500..1000 matches discussions with comments ranging from 500 to 1,000.|
You can filter discussions by the number of interactions with the
interactions qualifier along with greater than, less than, and range qualifiers. The interactions count is the number of reactions and comments on a discussion. For more information, see "Understanding the search syntax."
|interactions:>2000 matches discussions with more than 2,000 interactions.|
|interactions:500..1000 matches discussions with interactions ranging from 500 to 1,000.|
You can filter discussions by the number of reactions using the
reactions qualifier along with greater than, less than, and range qualifiers. For more information, see "Understanding the search syntax."
|reactions:>1000 matches discussions with more than 500 reactions.|
|reactions:500..1000 matches discussions with reactions ranging from 500 to 1,000.|
You can filter discussions based on times of creation, or when the discussion was last updated. For discussion creation, you can use the
created qualifier; to find out when an discussion was last updated, use the
Both qualifiers take a date as a parameter. Die Datumsformatierung muss dem ISO8601-Standard entsprechen, der
YYYY-MM-DD (Jahr-Monat-Tag) ist. Du kannst nach dem Datum auch optionale Zeitinformationen
THH:MM:SS+00:00 hinzufügen, um nach der Stunde, Minute und Sekunde zu suchen. Das ist
T, gefolgt von
HH:MM:SS (Stunden:Minuten:Sekunden) und einem UTC-Offset (
When you search for a date, you can use greater than, less than, and range qualifiers to further filter results. For more information, see "Understanding the search syntax."
|created:>2020-11-15 matches discussions that were created after November 15, 2020.|
|weird in:body updated:>=2020-02-01 matches discussions with the word "weird" in the body that were updated after December 2020.|