DOKK / manpages / debian 13 / gh / gh.1.en
GH(1) GitHub CLI manual GH(1)

gh - GitHub CLI

gh <command> <subcommand> [flags]

Work seamlessly with GitHub from the command line.

gh_auth(1)">">gh-auth(1)
Authenticate gh and git with GitHub

gh_browse(1)">">gh-browse(1)
Open the repository in the browser

gh_codespace(1)">">gh-codespace(1)
Connect to and manage codespaces

gh_gist(1)">">gh-gist(1)
Manage gists

gh_issue(1)">">gh-issue(1)
Manage issues

gh_org(1)">">gh-org(1)
Manage organizations

gh_pr(1)">">gh-pr(1)
Manage pull requests

gh_project(1)">">gh-project(1)
Work with GitHub Projects.

gh_release(1)">">gh-release(1)
Manage releases

gh_repo(1)">">gh-repo(1)
Manage repositories

gh_cache(1)">">gh-cache(1)
Manage Github Actions caches

gh_run(1)">">gh-run(1)
View details about workflow runs

gh_workflow(1)">">gh-workflow(1)
View details about GitHub Actions workflows

gh_alias(1)">">gh-alias(1)
Create command shortcuts

gh_api(1)">">gh-api(1)
Make an authenticated GitHub API request

gh_completion(1)">">gh-completion(1)
Generate shell completion scripts

gh_config(1)">">gh-config(1)
Manage configuration for gh

gh_extension(1)">">gh-extension(1)
Manage gh extensions

gh_gpg_key(1)">">gh-gpg-key(1)
Manage GPG keys

gh_label(1)">">gh-label(1)
Manage labels

gh_ruleset(1)">">gh-ruleset(1)
View info about repo rulesets

gh_search(1)">">gh-search(1)
Search for repositories, issues, and pull requests

gh_secret(1)">">gh-secret(1)
Manage GitHub secrets

gh_ssh_key(1)">">gh-ssh-key(1)
Manage SSH keys

gh_status(1)">">gh-status(1)
Print information about relevant issues, pull requests, and notifications across repositories

gh_variable(1)">">gh-variable(1)
Manage GitHub Actions variables

Show gh version

$ gh issue create
$ gh repo clone cli/cli
$ gh pr checkout 321
Jan 2025