-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
gh-search: add page #18339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
gh-search: add page #18339
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1db51fd
gh-search: add page
harryfrzz 7d485cf
Apply suggestions from code review
harryfrzz 587ba6a
Merge branch 'main' into feat
harryfrzz 6bd3a8a
Apply suggestions from code review
harryfrzz b5a0103
Merge branch 'main' into feat
harryfrzz 492d024
Merge branch 'main' into feat
harryfrzz de5a5bf
Apply suggestions from code review
harryfrzz a17f6b3
Merge branch 'tldr-pages:main' into feat
harryfrzz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
gh-search: add page
- Loading branch information
commit 1db51fd5822582dd30eedbe0a29499ae895329aa
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# gh search | ||
|
||
> Search across all of GitHub. | ||
> More information: <https://cli.github.com/manual/gh_search>. | ||
|
||
- Search for code containing specific keywords: | ||
|
||
`gh search code {{keyword1}} {{keyword2}}` | ||
|
||
- Search for issues with a specific phrase: | ||
|
||
`gh search issues "{{search_phrase}}"` | ||
|
||
- Search commits by a specific author: | ||
|
||
`gh search commits --author={{username}}` | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
- Search pull requests assigned to yourself that are still open: | ||
|
||
`gh search prs --assignee=@me --state=open` | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
- Search repositories in an organization by topic: | ||
|
||
`gh search repos --owner={{org_name}} --topic={{topic_name}}` | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
- Exclude search results with a specific qualifier (Unix-like systems): | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
`gh search issues -- "{{search_query}} -label:{{label_name}}"` | ||
|
||
- Exclude search results with a specific qualifier (PowerShell): | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
`gh --% search issues -- "{{search_query}} -label:{{label_name}}"` | ||
|
||
- Open the search query in the web browser: | ||
|
||
`gh search {{subcommand}} {{query}} --web` | ||
harryfrzz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.