1GH(1)                          GitHub CLI manual                         GH(1)
2
3
4

NAME

6       gh - GitHub CLI
7
8
9

SYNOPSIS

11       gh <command> <subcommand> [flags]
12
13
14

DESCRIPTION

16       Work seamlessly with GitHub from the command line.
17
18
19

CORE COMMANDS

21       gh-auth(1)
22              Authenticate gh and git with GitHub
23
24
25       gh-browse(1)
26              Open the repository in the browser
27
28
29       gh-codespace(1)
30              Connect to and manage codespaces
31
32
33       gh-gist(1)
34              Manage gists
35
36
37       gh-issue(1)
38              Manage issues
39
40
41       gh-org(1)
42              Manage organizations
43
44
45       gh-pr(1)
46              Manage pull requests
47
48
49       gh-project(1)
50              Work with GitHub Projects.
51
52
53       gh-release(1)
54              Manage releases
55
56
57       gh-repo(1)
58              Manage repositories
59
60
61

GITHUB ACTIONS COMMANDS

63       gh-cache(1)
64              Manage Github Actions caches
65
66
67       gh-run(1)
68              View details about workflow runs
69
70
71       gh-workflow(1)
72              View details about GitHub Actions workflows
73
74
75

ADDITIONAL COMMANDS

77       gh-alias(1)
78              Create command shortcuts
79
80
81       gh-api(1)
82              Make an authenticated GitHub API request
83
84
85       gh-completion(1)
86              Generate shell completion scripts
87
88
89       gh-config(1)
90              Manage configuration for gh
91
92
93       gh-extension(1)
94              Manage gh extensions
95
96
97       gh-gpg-key(1)
98              Manage GPG keys
99
100
101       gh-label(1)
102              Manage labels
103
104
105       gh-ruleset(1)
106              View info about repo rulesets
107
108
109       gh-search(1)
110              Search for repositories, issues, and pull requests
111
112
113       gh-secret(1)
114              Manage GitHub secrets
115
116
117       gh-ssh-key(1)
118              Manage SSH keys
119
120
121       gh-status(1)
122              Print  information about relevant issues, pull requests, and no‐
123              tifications across repositories
124
125
126       gh-variable(1)
127              Manage GitHub Actions variables
128
129
130

OPTIONS

132       --version
133              Show gh version
134
135
136

EXAMPLE

138       $ gh issue create
139       $ gh repo clone cli/cli
140       $ gh pr checkout 321
141
142
143
144
145
146                                   Nov 2023                              GH(1)
Impressum