Package gh

GitHub’s official command line tool

https://github.com/cli/cli

Version: 2.20.2

General Commands

gh GitHub CLI
gh-alias Create command shortcuts
gh-alias-delete Delete an alias
gh-alias-list List your aliases
gh-alias-set Create a shortcut for a gh command
gh-api Make an authenticated GitHub API request
gh-auth Authenticate gh and git with GitHub
gh-auth-login Authenticate with a GitHub host
gh-auth-logout Log out of a GitHub host
gh-auth-refresh Refresh stored authentication credentials
gh-auth-setup-git Configure git to use GitHub CLI as a credential helper
gh-auth-status View authentication status
gh-auth-token Print the auth token gh is configured to use
gh-browse Open the repository in the browser
gh-codespace Connect to and manage codespaces
gh-codespace-code Open a codespace in Visual Studio Code
gh-codespace-cp Copy files between local and remote file systems
gh-codespace-create Create a codespace
gh-codespace-delete Delete codespaces
gh-codespace-edit Edit a codespace
gh-codespace-jupyter Open a codespace in JupyterLab
gh-codespace-list List codespaces
gh-codespace-logs Access codespace logs
gh-codespace-ports List ports in a codespace
gh-codespace-ports-forward Forward ports
gh-codespace-ports-visibility Change the visibility of the forwarded port
gh-codespace-rebuild Rebuild a codespace
gh-codespace-ssh SSH into a codespace
gh-codespace-stop Stop a running codespace
gh-completion Generate shell completion scripts
gh-config Manage configuration for gh
gh-config-get Print the value of a given configuration key
gh-config-list Print a list of configuration keys and values
gh-config-set Update configuration with a value for the given key
gh-extension Manage gh extensions
gh-extension-browse Enter a UI for browsing, adding, and removing extensions
gh-extension-create Create a new extension
gh-extension-exec Execute an installed extension
gh-extension-install Install a gh extension from a repository
gh-extension-list List installed extension commands
gh-extension-remove Remove an installed extension
gh-extension-search Search extensions to the GitHub CLI
gh-extension-upgrade Upgrade installed extensions
gh-gist Manage gists
gh-gist-clone Clone a gist locally
gh-gist-create Create a new gist
gh-gist-delete Delete a gist
gh-gist-edit Edit one of your gists
gh-gist-list List your gists
gh-gist-view View a gist
gh-gpg-key Manage GPG keys
gh-gpg-key-add Add a GPG key to your GitHub account
gh-gpg-key-delete Delete a GPG key from your GitHub account
gh-gpg-key-list Lists GPG keys in your GitHub account
gh-issue Manage issues
gh-issue-close Close issue
gh-issue-comment Add a comment to an issue
gh-issue-create Create a new issue
gh-issue-delete Delete issue
gh-issue-develop Manage linked branches for an issue
gh-issue-edit Edit an issue
gh-issue-list List issues in a repository
gh-issue-pin Pin a issue
gh-issue-reopen Reopen issue
gh-issue-status Show status of relevant issues
gh-issue-transfer Transfer issue to another repository
gh-issue-unpin Unpin a issue
gh-issue-view View an issue
gh-label Manage labels
gh-label-clone Clones labels from one repository to another
gh-label-create Create a new label
gh-label-delete Delete a label from a repository
gh-label-edit Edit a label
gh-label-list List labels in a repository
gh-pr Manage pull requests
gh-pr-checkout Check out a pull request in git
gh-pr-checks Show CI status for a single pull request
gh-pr-close Close a pull request
gh-pr-comment Add a comment to a pull request
gh-pr-create Create a pull request
gh-pr-diff View changes in a pull request
gh-pr-edit Edit a pull request
gh-pr-list List pull requests in a repository
gh-pr-merge Merge a pull request
gh-pr-ready Mark a pull request as ready for review
gh-pr-reopen Reopen a pull request
gh-pr-review Add a review to a pull request
gh-pr-status Show status of relevant pull requests
gh-pr-view View a pull request
gh-release Manage releases
gh-release-create Create a new release
gh-release-delete Delete a release
gh-release-delete-asset Delete an asset from a release
gh-release-download Download release assets
gh-release-edit Edit a release
gh-release-list List releases in a repository
gh-release-upload Upload assets to a release
gh-release-view View information about a release
gh-repo Manage repositories
gh-repo-archive Archive a repository
gh-repo-clone Clone a repository locally
gh-repo-create Create a new repository
gh-repo-delete Delete a repository
gh-repo-deploy-key Manage deploy keys in a repository
gh-repo-deploy-key-add Add a deploy key to a GitHub repository
gh-repo-deploy-key-delete Delete a deploy key from a GitHub repository
gh-repo-deploy-key-list List deploy keys in a GitHub repository
gh-repo-edit Edit repository settings
gh-repo-fork Create a fork of a repository
gh-repo-list List repositories owned by user or organization
gh-repo-rename Rename a repository
gh-repo-sync Sync a repository
gh-repo-view View a repository
gh-run View details about workflow runs
gh-run-cancel Cancel a workflow run
gh-run-download Download artifacts generated by a workflow run
gh-run-list List recent workflow runs
gh-run-rerun Rerun a failed run
gh-run-view View a summary of a workflow run
gh-run-watch Watch a run until it completes, showing its progress
gh-search Search for repositories, issues, and pull requests
gh-search-issues Search for issues
gh-search-prs Search for pull requests
gh-search-repos Search for repositories
gh-secret Manage GitHub secrets
gh-secret-delete Delete secrets
gh-secret-list List secrets
gh-secret-set Create or update secrets
gh-ssh-key Manage SSH keys
gh-ssh-key-add Add an SSH key to your GitHub account
gh-ssh-key-delete Delete an SSH key from your GitHub account
gh-ssh-key-list Lists SSH keys in your GitHub account
gh-status Print information about relevant issues, pull requests, and notifications across repositories
gh-workflow View details about GitHub Actions workflows
gh-workflow-disable Disable a workflow
gh-workflow-enable Enable a workflow
gh-workflow-list List workflows
gh-workflow-run Run a workflow by creating a workflow_dispatch event
gh-workflow-view View the summary of a workflow