id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
gh-attestation(1) | NAME gh-attestation - Work with artifact attestations
SYNOPSIS gh attestation [subcommand] [flags]
DESCRIPTION Download and verify artifact attestations.
AVAILABLE COMMANDS gh-attestation-download(1) Download an artifact's attestations for offline use
gh-attestation-trusted-root(1)
Output trust... |
gh-attestation-download(1) | NAME gh-attestation-download - Download an artifact's attestations for offline use
SYNOPSIS gh attestation download [<file-path> | oci://<image-uri>] [--owner | --repo] [flags]
DESCRIPTION NOTE: This feature is currently in public preview, and subject to change. Download attestations associated with an artifact for o... |
gh-attestation-trusted-root(1) | NAME gh-attestation-trusted-root - Output trusted_root.jsonl contents, likely for offline verification
SYNOPSIS gh attestation trusted-root [--tuf-url <url> --tuf-root <file-path>] [--verify-only] [flags]
DESCRIPTION Output contents for a trusted_root.jsonl file, likely for offline verification.
When using ... |
gh-attestation-verify(1) | NAME gh-attestation-verify - Verify an artifact's integrity using attestations
SYNOPSIS gh attestation verify [<file-path> | oci://<image-uri>] [--owner | --repo] [flags]
DESCRIPTION Verify the integrity and provenance of an artifact using its associated cryptographically signed attestations.
Understanding Verificat... |
gh-auth(1) | NAME gh-auth - Authenticate gh and git with GitHub
SYNOPSIS gh auth <command> [flags]
AVAILABLE COMMANDS gh-auth-login(1) Log in to a GitHub account
gh-auth-logout(1)
Log out of a GitHub account
gh-auth-refresh(1)
Refresh stored authentication credentials
gh-auth-se... |
gh-auth-login(1) | NAME gh-auth-login - Log in to a GitHub account
SYNOPSIS gh auth login [flags]
DESCRIPTION Authenticate with a GitHub host.
The default hostname is github.com. This can be overridden using the --hostname flag.
The default authentication mode is a web-based browser flow. After completion, an authentica... |
gh-auth-logout(1) | NAME gh-auth-logout - Log out of a GitHub account
SYNOPSIS gh auth logout [flags]
DESCRIPTION Remove authentication for a GitHub account.
This command removes the stored authentication configuration for an account. The authentication configuration is only removed locally.
This command does not revoke ... |
gh-auth-refresh(1) | NAME gh-auth-refresh - Refresh stored authentication credentials
SYNOPSIS gh auth refresh [flags]
DESCRIPTION Expand or fix the permission scopes for stored credentials for active account.
The --scopes flag accepts a comma separated list of scopes you want your gh credentials to have. If no scopes are provide... |
gh-auth-setup-git(1) | NAME gh-auth-setup-git - Setup git with GitHub CLI
SYNOPSIS gh auth setup-git [flags]
DESCRIPTION This command configures git to use GitHub CLI as a credential helper. For more information on git credential helpers please reference:
⟨https://git-scm.com/docs/gitcredentials⟩.
By default, GitHub CLI wi... |
gh-auth-status(1) | NAME gh-auth-status - Display active account and authentication state on each known GitHub host
SYNOPSIS gh auth status [flags]
DESCRIPTION Display active account and authentication state on each known GitHub host.
For each host, the authentication state of each known account is tested and any issues are incl... |
gh-auth-switch(1) | NAME gh-auth-switch - Switch active GitHub account
SYNOPSIS gh auth switch [flags]
DESCRIPTION Switch the active account for a GitHub host.
This command changes the authentication configuration that will be used when running commands targeting the specified GitHub host.
If the specified host has two a... |
gh-auth-token(1) | NAME gh-auth-token - Print the authentication token gh uses for a hostname and account
SYNOPSIS gh auth token [flags]
DESCRIPTION This command outputs the authentication token for an account on a given GitHub host.
Without the --hostname flag, the default host is chosen.
Without the --user flag, the a... |
gh-browse(1) | NAME gh-browse - Open repositories, issues, pull requests, and more in the browser
SYNOPSIS gh browse [<number> | <path> | <commit-sha>] [flags]
DESCRIPTION Transition from the terminal to the web browser to view and interact with:
• Issues
• Pull requests
• Repository content
• Reposi... |
gh-cache(1) | NAME gh-cache - Manage GitHub Actions caches
SYNOPSIS gh cache <command> [flags]
DESCRIPTION Work with GitHub Actions caches.
AVAILABLE COMMANDS gh-cache-delete(1) Delete GitHub Actions caches
gh-cache-list(1)
List GitHub Actions caches
OPTIONS -R, --repo <[HOST/]OWNER/REPO> Select another rep... |
gh-cache-delete(1) | NAME gh-cache-delete - Delete GitHub Actions caches
SYNOPSIS gh cache delete [<cache-id> | <cache-key> | --all] [flags]
DESCRIPTION Delete GitHub Actions caches.
Deletion requires authorization with the repo scope.
OPTIONS -a, --all Delete all caches
-r, --ref <string>
Delete by cache k... |
gh-cache-list(1) | NAME gh-cache-list - List GitHub Actions caches
SYNOPSIS gh cache list [flags]
OPTIONS -q, --jq <expression> Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
-k, --key <string>
Filter by cache key prefix
-L, --limit <int... |
gh-codespace(1) | NAME gh-codespace - Connect to and manage codespaces
SYNOPSIS gh codespace [flags]
AVAILABLE COMMANDS gh-codespace-code(1) Open a codespace in Visual Studio Code
gh-codespace-cp(1)
Copy files between local and remote file systems
gh-codespace-create(1)
Create a codespace
... |
gh-codespace-code(1) | NAME gh-codespace-code - Open a codespace in Visual Studio Code
SYNOPSIS gh codespace code [flags]
OPTIONS -c, --codespace <string> Name of the codespace
--insiders
Use the insiders version of Visual Studio Code
-R, --repo <string>
Filter codespace selection by repository n... |
gh-codespace-cp(1) | NAME gh-codespace-cp - Copy files between local and remote file systems
SYNOPSIS gh codespace cp [-e] [-r] [-- [<scp flags>...]] <sources>... <dest>
DESCRIPTION The cp command copies files between the local and remote file systems.
As with the UNIX cp command, the first argument specifies the source and the l... |
gh-codespace-create(1) | NAME gh-codespace-create - Create a codespace
SYNOPSIS gh codespace create [flags]
OPTIONS -b, --branch <string> Repository branch
--default-permissions
Do not prompt to accept additional permissions requested by the codespace
--devcontainer-path <string>
Path to the devcon... |
gh-codespace-delete(1) | NAME gh-codespace-delete - Delete codespaces
SYNOPSIS gh codespace delete [flags]
DESCRIPTION Delete codespaces based on selection criteria.
All codespaces for the authenticated user can be deleted, as well as codespaces for a specific repository. Alternatively, only codespaces older than N days can be delete... |
gh-codespace-edit(1) | NAME gh-codespace-edit - Edit a codespace
SYNOPSIS gh codespace edit [flags]
OPTIONS -c, --codespace <string> Name of the codespace
-d, --display-name <string>
Set the display name
-m, --machine <string>
Set hardware specifications for the VM
-R, --repo <string>
... |
gh-codespace-jupyter(1) | NAME gh-codespace-jupyter - Open a codespace in JupyterLab
SYNOPSIS gh codespace jupyter [flags]
OPTIONS -c, --codespace <string> Name of the codespace
-R, --repo <string>
Filter codespace selection by repository name (user/repo)
--repo-owner <string>
Filter codespace selec... |
gh-codespace-list(1) | NAME gh-codespace-list - List codespaces
SYNOPSIS gh codespace list [flags]
DESCRIPTION List codespaces of the authenticated user.
Alternatively, organization administrators may list all codespaces billed to the organization.
OPTIONS -q, --jq <expression> Filter JSON output using a jq expression
--js... |
gh-codespace-logs(1) | NAME gh-codespace-logs - Access codespace logs
SYNOPSIS gh codespace logs [flags]
OPTIONS -c, --codespace <string> Name of the codespace
-f, --follow
Tail and follow the logs
-R, --repo <string>
Filter codespace selection by repository name (user/repo)
--repo-owner ... |
gh-codespace-ports(1) | NAME gh-codespace-ports - List ports in a codespace
SYNOPSIS gh codespace ports [flags]
AVAILABLE COMMANDS gh-codespace-ports-forward(1) Forward ports
gh-codespace-ports-visibility(1)
Change the visibility of the forwarded port
OPTIONS -c, --codespace <string> Name of the codespace
-q, ... |
gh-codespace-ports-forward(1) | NAME gh-codespace-ports-forward - Forward ports
SYNOPSIS gh codespace ports forward <remote-port>:<local-port>... [flags]
OPTIONS INHERITED FROM PARENT COMMANDS -c, --codespace <string> Name of the codespace
-R, --repo <string>
Filter codespace selection by repository name (user/repo)
--... |
gh-codespace-ports-visibility(1) | NAME gh-codespace-ports-visibility - Change the visibility of the forwarded port
SYNOPSIS gh codespace ports visibility <port>:{public|private|org}... [flags]
OPTIONS INHERITED FROM PARENT COMMANDS -c, --codespace <string> Name of the codespace
-R, --repo <string>
Filter codespace selection by r... |
gh-codespace-rebuild(1) | NAME gh-codespace-rebuild - Rebuild a codespace
SYNOPSIS gh codespace rebuild [flags]
DESCRIPTION Rebuilding recreates your codespace.
Your code and any current changes will be preserved. Your codespace will be rebuilt using your working directory's dev container. A full rebuild also removes cached Docker ima... |
gh-codespace-ssh(1) | NAME gh-codespace-ssh - SSH into a codespace
SYNOPSIS gh codespace ssh [<flags>...] [-- <ssh-flags>...] [<command>]
DESCRIPTION The ssh command is used to SSH into a codespace. In its simplest form, you can run gh cs ssh, select a codespace interactively, and connect.
The ssh command will automatically create... |
gh-codespace-stop(1) | NAME gh-codespace-stop - Stop a running codespace
SYNOPSIS gh codespace stop [flags]
OPTIONS -c, --codespace <string> Name of the codespace
-o, --org <login>
The login handle of the organization (admin-only)
-R, --repo <string>
Filter codespace selection by repository name ... |
gh-codespace-view(1) | NAME gh-codespace-view - View details about a codespace
SYNOPSIS gh codespace view [flags]
OPTIONS -c, --codespace <string> Name of the codespace
-q, --jq <expression>
Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
-R,... |
gh-completion(1) | NAME gh-completion - Generate shell completion scripts
SYNOPSIS gh completion -s <shell>
DESCRIPTION Generate shell completion scripts for GitHub CLI commands.
When installing GitHub CLI through a package manager, it's possible that no additional shell configuration is necessary to gain completion support. Fo... |
gh-config(1) | NAME gh-config - Manage configuration for gh
SYNOPSIS gh config <command> [flags]
DESCRIPTION Display or change configuration settings for gh.
Current respected settings: - git_protocol: the protocol to use for git clone and push operations {https | ssh} (default https) - editor: the text editor program ... |
gh-config-clear-cache(1) | NAME gh-config-clear-cache - Clear the cli cache
SYNOPSIS gh config clear-cache [flags]
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
... |
gh-config-get(1) | NAME gh-config-get - Print the value of a given configuration key
SYNOPSIS gh config get <key> [flags]
OPTIONS -h, --host <string> Get per-host setting
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additiona... |
gh-config-list(1) | NAME gh-config-list - Print a list of configuration keys and values
SYNOPSIS gh config list [flags]
OPTIONS -h, --host <string> Get per-host configuration
ALIASES gh config ls
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific co... |
gh-config-set(1) | NAME gh-config-set - Update configuration with a value for the given key
SYNOPSIS gh config set <key> <value> [flags]
OPTIONS -h, --host <string> Set per-host setting
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may... |
gh-extension(1) | NAME gh-extension - Manage gh extensions
SYNOPSIS gh extension [flags]
DESCRIPTION GitHub CLI extensions are repositories that provide additional gh commands.
The name of the extension repository must start with gh- and it must contain an executable of the same name. All arguments passed to the gh <extname> ... |
gh-extension-browse(1) | NAME gh-extension-browse - Enter a UI for browsing, adding, and removing extensions
SYNOPSIS gh extension browse [flags]
DESCRIPTION This command will take over your terminal and run a fully interactive interface for browsing, adding, and removing gh extensions. A terminal width greater than 100 columns is recommende... |
gh-extension-create(1) | NAME gh-extension-create - Create a new extension
SYNOPSIS gh extension create [<name>] [flags]
OPTIONS --precompiled <string> Create a precompiled extension. Possible values: go, other
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Sp... |
gh-extension-exec(1) | NAME gh-extension-exec - Execute an installed extension
SYNOPSIS gh extension exec <name> [args] [flags]
DESCRIPTION Execute an extension using the short name. For example, if the extension repository is owner/gh-extension, you should pass extension. You can use this command when the short name conflicts with a core ... |
gh-extension-install(1) | NAME gh-extension-install - Install a gh extension from a repository
SYNOPSIS gh extension install <repository> [flags]
DESCRIPTION Install a GitHub CLI extension from a GitHub or local repository.
For GitHub repositories, the repository argument can be specified in OWNER/REPO format or as a full repository U... |
gh-extension-list(1) | NAME gh-extension-list - List installed extension commands
SYNOPSIS gh extension list [flags]
ALIASES gh ext ls, gh extension ls, gh extensions ls
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exi... |
gh-extension-remove(1) | NAME gh-extension-remove - Remove an installed extension
SYNOPSIS gh extension remove <name> [flags]
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more i... |
gh-extension-search(1) | NAME gh-extension-search - Search extensions to the GitHub CLI
SYNOPSIS gh extension search [<query>] [flags]
DESCRIPTION Search for gh extensions.
With no arguments, this command prints out the first 30 extensions available to install sorted by number of stars. More extensions can be fetched by specifying a ... |
gh-extension-upgrade(1) | NAME gh-extension-upgrade - Upgrade installed extensions
SYNOPSIS gh extension upgrade {<name> | --all} [flags]
OPTIONS --all Upgrade all extensions
--dry-run
Only display upgrades
--force
Force upgrade extension
EXIT CODES 0: Successful execution
1: Error
... |
gh-gist(1) | NAME gh-gist - Manage gists
SYNOPSIS gh gist <command> [flags]
DESCRIPTION Work with GitHub gists.
AVAILABLE COMMANDS gh-gist-clone(1) Clone a gist locally
gh-gist-create(1)
Create a new gist
gh-gist-delete(1)
Delete a gist
gh-gist-edit(1)
Edit one of... |
gh-gist-clone(1) | NAME gh-gist-clone - Clone a gist locally
SYNOPSIS gh gist clone <gist> [<directory>] [-- <gitflags>...]
DESCRIPTION Clone a GitHub gist locally.
A gist can be supplied as argument in either of the following formats: - by ID, e.g. 5b0e0062eb8e9654adad7bb1d81cc75f - by URL, e.g. https://gist.github.com/OWNER/5... |
gh-gist-create(1) | NAME gh-gist-create - Create a new gist
SYNOPSIS gh gist create [<filename>... | <pattern>... | -] [flags]
DESCRIPTION Create a new GitHub gist with given contents.
Gists can be created from one or multiple files. Alternatively, pass - as filename to read from standard input.
By default, gists are sec... |
gh-gist-delete(1) | NAME gh-gist-delete - Delete a gist
SYNOPSIS gh gist delete {<id> | <url>} [flags]
DESCRIPTION Delete a GitHub gist.
To delete a gist interactively, use gh gist delete with no arguments.
To delete a gist non-interactively, supply the gist id or url.
OPTIONS --yes Confirm deletion without prompting
... |
gh-gist-edit(1) | NAME gh-gist-edit - Edit one of your gists
SYNOPSIS gh gist edit {<id> | <url>} [<filename>] [flags]
OPTIONS -a, --add <string> Add a new file to the gist
-d, --desc <string>
New description for the gist
-f, --filename <string>
Select a file to edit
-r, --remove <st... |
gh-gist-list(1) | NAME gh-gist-list - List your gists
SYNOPSIS gh gist list [flags]
DESCRIPTION List gists from your user account.
You can use a regular expression to filter the description, file names, or even the content of files in the gist using --filter.
For supported regular expression syntax, see ⟨https://pkg.go... |
gh-gist-rename(1) | NAME gh-gist-rename - Rename a file in a gist
SYNOPSIS gh gist rename {<id> | <url>} <old-filename> <new-filename> [flags]
DESCRIPTION Rename a file in the given gist ID / URL.
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific co... |
gh-gist-view(1) | NAME gh-gist-view - View a gist
SYNOPSIS gh gist view [<id> | <url>] [flags]
DESCRIPTION View the given gist or select from recent gists.
OPTIONS -f, --filename <string> Display a single file from the gist
--files
List file names from the gist
-r, --raw
Print raw instead o... |
gh-gpg-key(1) | NAME gh-gpg-key - Manage GPG keys
SYNOPSIS gh gpg-key <command> [flags]
DESCRIPTION Manage GPG keys registered with your GitHub account.
AVAILABLE COMMANDS gh-gpg-key-add(1) Add a GPG key to your GitHub account
gh-gpg-key-delete(1)
Delete a GPG key from your GitHub account
gh-gpg-key-li... |
gh-gpg-key-add(1) | NAME gh-gpg-key-add - Add a GPG key to your GitHub account
SYNOPSIS gh gpg-key add [<key-file>] [flags]
OPTIONS -t, --title <string> Title for the new key
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additi... |
gh-gpg-key-delete(1) | NAME gh-gpg-key-delete - Delete a GPG key from your GitHub account
SYNOPSIS gh gpg-key delete <key-id> [flags]
OPTIONS -y, --yes Skip the confirmation prompt
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have add... |
gh-gpg-key-list(1) | NAME gh-gpg-key-list - Lists GPG keys in your GitHub account
SYNOPSIS gh gpg-key list [flags]
ALIASES gh gpg-key ls
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's... |
gh-issue(1) | NAME gh-issue - Manage issues
SYNOPSIS gh issue <command> [flags]
DESCRIPTION Work with GitHub issues.
GENERAL COMMANDS gh-issue-create(1) Create a new issue
gh-issue-list(1)
List issues in a repository
gh-issue-status(1)
Show status of relevant issues
TARGETED COMMANDS g... |
gh-issue-close(1) | NAME gh-issue-close - Close issue
SYNOPSIS gh issue close {<number> | <url>} [flags]
OPTIONS -c, --comment <string> Leave a closing comment
-r, --reason <string>
Reason for closing: {completed|not planned}
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repo... |
gh-issue-comment(1) | NAME gh-issue-comment - Add a comment to an issue
SYNOPSIS gh issue comment {<number> | <url>} [flags]
DESCRIPTION Add a comment to a GitHub issue.
Without the body text supplied through flags, the command will interactively prompt for the comment text.
OPTIONS -b, --body <text> The comment body text
... |
gh-issue-create(1) | NAME gh-issue-create - Create a new issue
SYNOPSIS gh issue create [flags]
DESCRIPTION Create an issue on GitHub.
Adding an issue to projects requires authorization with the project scope. To authorize, run gh auth refresh -s project.
The --assignee flag supports the following special values: - @me: ... |
gh-issue-delete(1) | NAME gh-issue-delete - Delete issue
SYNOPSIS gh issue delete {<number> | <url>} [flags]
OPTIONS --yes Confirm deletion without prompting
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
1: E... |
gh-issue-develop(1) | NAME gh-issue-develop - Manage linked branches for an issue
SYNOPSIS gh issue develop {<number> | <url>} [flags]
DESCRIPTION Manage linked branches for an issue.
When using the --base flag, the new development branch will be created from the specified remote branch. The new branch will be configured as the ba... |
gh-issue-edit(1) | NAME gh-issue-edit - Edit issues
SYNOPSIS gh issue edit {<numbers> | <urls>} [flags]
DESCRIPTION Edit one or more issues within the same repository.
Editing issues' projects requires authorization with the project scope. To authorize, run gh auth refresh -s project.
The --add-assignee and --remove-as... |
gh-issue-list(1) | NAME gh-issue-list - List issues in a repository
SYNOPSIS gh issue list [flags]
DESCRIPTION List issues in a GitHub repository. By default, this only lists open issues.
The search query syntax is documented here:
⟨https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-r... |
gh-issue-lock(1) | NAME gh-issue-lock - Lock issue conversation
SYNOPSIS gh issue lock {<number> | <url>} [flags]
OPTIONS -r, --reason <string> Optional reason for locking conversation (off_topic, resolved, spam, too_heated).
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOS... |
gh-issue-pin(1) | NAME gh-issue-pin - Pin a issue
SYNOPSIS gh issue pin {<number> | <url>} [flags]
DESCRIPTION Pin an issue to a repository.
The issue can be specified by issue number or URL.
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXI... |
gh-issue-reopen(1) | NAME gh-issue-reopen - Reopen issue
SYNOPSIS gh issue reopen {<number> | <url>} [flags]
OPTIONS -c, --comment <string> Add a reopening comment
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
... |
gh-issue-status(1) | NAME gh-issue-status - Show status of relevant issues
SYNOPSIS gh issue status [flags]
OPTIONS -q, --jq <expression> Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
-t, --template <string>
Format JSON output using a Go template... |
gh-issue-transfer(1) | NAME gh-issue-transfer - Transfer issue to another repository
SYNOPSIS gh issue transfer {<number> | <url>} <destination-repo> [flags]
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
1: Error... |
gh-issue-unlock(1) | NAME gh-issue-unlock - Unlock issue conversation
SYNOPSIS gh issue unlock {<number> | <url>} [flags]
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
... |
gh-issue-unpin(1) | NAME gh-issue-unpin - Unpin a issue
SYNOPSIS gh issue unpin {<number> | <url>} [flags]
DESCRIPTION Unpin an issue from a repository.
The issue can be specified by issue number or URL.
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO f... |
gh-issue-view(1) | NAME gh-issue-view - View an issue
SYNOPSIS gh issue view {<number> | <url>} [flags]
DESCRIPTION Display the title, body, and other information about an issue.
With --web flag, open the issue in a web browser instead.
OPTIONS -c, --comments View issue comments
-q, --jq <expression>
Filt... |
gh-label(1) | NAME gh-label - Manage labels
SYNOPSIS gh label <command> [flags]
DESCRIPTION Work with GitHub labels.
AVAILABLE COMMANDS gh-label-clone(1) Clones labels from one repository to another
gh-label-create(1)
Create a new label
gh-label-delete(1)
Delete a label from a repositor... |
gh-label-clone(1) | NAME gh-label-clone - Clones labels from one repository to another
SYNOPSIS gh label clone <source-repository> [flags]
DESCRIPTION Clones labels from a source repository to a destination repository on GitHub. By default, the destination repository is the current repository.
All labels from the source reposit... |
gh-label-create(1) | NAME gh-label-create - Create a new label
SYNOPSIS gh label create <name> [flags]
DESCRIPTION Create a new label on GitHub, or update an existing one with --force.
Must specify name for the label. The description and color are optional. If a color isn't provided, a random one will be chosen.
The labe... |
gh-label-delete(1) | NAME gh-label-delete - Delete a label from a repository
SYNOPSIS gh label delete <name> [flags]
OPTIONS --yes Confirm deletion without prompting
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
... |
gh-label-edit(1) | NAME gh-label-edit - Edit a label
SYNOPSIS gh label edit <name> [flags]
DESCRIPTION Update a label on GitHub.
A label can be renamed using the --name flag.
The label color needs to be 6 character hex value.
OPTIONS -c, --color <string> Color of the label
-d, --description <string>
... |
gh-label-list(1) | NAME gh-label-list - List labels in a repository
SYNOPSIS gh label list [flags]
DESCRIPTION Display labels in a GitHub repository.
When using the --search flag results are sorted by best match of the query. This behavior cannot be configured with the --order or --sort flags.
OPTIONS -q, --jq <expression> Fi... |
gh-org(1) | NAME gh-org - Manage organizations
SYNOPSIS gh org <command> [flags]
DESCRIPTION Work with GitHub organizations.
GENERAL COMMANDS gh-org-list(1) List organizations for the authenticated user.
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
N... |
gh-org-list(1) | NAME gh-org-list - List organizations for the authenticated user.
SYNOPSIS gh org list [flags]
OPTIONS -L, --limit <int> (default 30) Maximum number of organizations to list
ALIASES gh org ls
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
4: Authentication required
N... |
gh-pr(1) | NAME gh-pr - Manage pull requests
SYNOPSIS gh pr <command> [flags]
DESCRIPTION Work with GitHub pull requests.
GENERAL COMMANDS gh-pr-create(1) Create a pull request
gh-pr-list(1)
List pull requests in a repository
gh-pr-status(1)
Show status of relevant pull requests
TAR... |
gh-pr-checkout(1) | NAME gh-pr-checkout - Check out a pull request in git
SYNOPSIS gh pr checkout [<number> | <url> | <branch>] [flags]
OPTIONS -b, --branch <string> Local branch name to use (default [the name of the head branch])
--detach
Checkout PR with a detached HEAD
-f, --force
Reset the... |
gh-pr-checks(1) | NAME gh-pr-checks - Show CI status for a single pull request
SYNOPSIS gh pr checks [<number> | <url> | <branch>] [flags]
DESCRIPTION Show CI status for a single pull request.
Without an argument, the pull request that belongs to the current branch is selected.
When the --json flag is used, it includes... |
gh-pr-close(1) | NAME gh-pr-close - Close a pull request
SYNOPSIS gh pr close {<number> | <url> | <branch>} [flags]
OPTIONS -c, --comment <string> Leave a closing comment
-d, --delete-branch
Delete the local and remote branch after close
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Sele... |
gh-pr-comment(1) | NAME gh-pr-comment - Add a comment to a pull request
SYNOPSIS gh pr comment [<number> | <url> | <branch>] [flags]
DESCRIPTION Add a comment to a GitHub pull request.
Without the body text supplied through flags, the command will interactively prompt for the comment text.
OPTIONS -b, --body <text> The comment... |
gh-pr-create(1) | NAME gh-pr-create - Create a pull request
SYNOPSIS gh pr create [flags]
DESCRIPTION Create a pull request on GitHub.
Upon success, the URL of the created pull request will be printed.
When the current branch isn't fully pushed to a git remote, a prompt will ask where to push the branch and offer an op... |
gh-pr-diff(1) | NAME gh-pr-diff - View changes in a pull request
SYNOPSIS gh pr diff [<number> | <url> | <branch>] [flags]
DESCRIPTION View changes in a pull request.
Without an argument, the pull request that belongs to the current branch is selected.
With --web flag, open the pull request diff in a web browser inst... |
gh-pr-edit(1) | NAME gh-pr-edit - Edit a pull request
SYNOPSIS gh pr edit [<number> | <url> | <branch>] [flags]
DESCRIPTION Edit a pull request.
Without an argument, the pull request that belongs to the current branch is selected.
Editing a pull request's projects requires authorization with the project scope. To au... |
gh-pr-list(1) | NAME gh-pr-list - List pull requests in a repository
SYNOPSIS gh pr list [flags]
DESCRIPTION List pull requests in a GitHub repository. By default, this only lists open PRs.
The search query syntax is documented here:
⟨https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-p... |
gh-pr-lock(1) | NAME gh-pr-lock - Lock pull request conversation
SYNOPSIS gh pr lock {<number> | <url>} [flags]
OPTIONS -r, --reason <string> Optional reason for locking conversation (off_topic, resolved, spam, too_heated).
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HO... |
gh-pr-merge(1) | NAME gh-pr-merge - Merge a pull request
SYNOPSIS gh pr merge [<number> | <url> | <branch>] [flags]
DESCRIPTION Merge a pull request on GitHub.
Without an argument, the pull request that belongs to the current branch is selected.
When targeting a branch that requires a merge queue, no merge strategy ... |
gh-pr-ready(1) | NAME gh-pr-ready - Mark a pull request as ready for review
SYNOPSIS gh pr ready [<number> | <url> | <branch>] [flags]
DESCRIPTION Mark a pull request as ready for review.
Without an argument, the pull request that belongs to the current branch is marked as ready.
If supported by your plan, convert to ... |
gh-pr-reopen(1) | NAME gh-pr-reopen - Reopen a pull request
SYNOPSIS gh pr reopen {<number> | <url> | <branch>} [flags]
OPTIONS -c, --comment <string> Add a reopening comment
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful exe... |
gh-pr-revert(1) | NAME gh-pr-revert - Revert a pull request
SYNOPSIS gh pr revert {<number> | <url> | <branch>} [flags]
OPTIONS -b, --body <string> Body for the revert pull request
-F, --body-file <file>
Read body text from file (use "-" to read from standard input)
-d, --draft
Mark revert p... |
gh-pr-review(1) | NAME gh-pr-review - Add a review to a pull request
SYNOPSIS gh pr review [<number> | <url> | <branch>] [flags]
DESCRIPTION Add a review to a pull request.
Without an argument, the pull request that belongs to the current branch is reviewed.
OPTIONS -a, --approve Approve pull request
-b, --body <strin... |
gh-pr-status(1) | NAME gh-pr-status - Show status of relevant pull requests
SYNOPSIS gh pr status [flags]
DESCRIPTION Show status of relevant pull requests.
The status shows a summary of pull requests that includes information such as pull request number, title, CI checks, reviews, etc.
To see more details of CI checks... |
gh-pr-unlock(1) | NAME gh-pr-unlock - Unlock pull request conversation
SYNOPSIS gh pr unlock {<number> | <url>} [flags]
OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format
EXIT CODES 0: Successful execution
1: Error
2: Command canceled
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.