GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GH(1) GitHub CLI manual GH(1)

gh - GitHub CLI

gh <command> <subcommand> [flags]

Work seamlessly with GitHub from the command line.

Authenticate gh and git with GitHub

Open repositories, issues, pull requests, and more in the browser

Connect to and manage codespaces

Manage gists

Manage issues

Manage organizations

Manage pull requests

Work with GitHub Projects.

Manage releases

Manage repositories

Manage GitHub Actions caches

View details about workflow runs

View details about GitHub Actions workflows

Create command shortcuts

Make an authenticated GitHub API request

Work with artifact attestations

Generate shell completion scripts

Manage configuration for gh

Manage gh extensions

Manage GPG keys

Manage labels

Execute previews for gh features

View info about repo rulesets

Search for repositories, issues, and pull requests

Manage GitHub secrets

Manage SSH keys

Print information about relevant issues, pull requests, and notifications across repositories

Manage GitHub Actions variables

Show gh version

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 issue create
$ gh repo clone cli/cli
$ gh pr checkout 321
Jul 2025

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.