1GH(1) GitHub CLI manual GH(1)
2
3
4
6 gh - GitHub CLI
7
8
9
11 gh <command> <subcommand> [flags]
12
13
14
16 Work seamlessly with GitHub from the command line.
17
18
19
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 your codespaces
31
32
33 gh-gist(1)
34 Manage gists
35
36
37 gh-issue(1)
38 Manage issues
39
40
41 gh-pr(1)
42 Manage pull requests
43
44
45 gh-release(1)
46 Manage releases
47
48
49 gh-repo(1)
50 Manage repositories
51
52
53
55 gh-run(1)
56 View details about workflow runs
57
58
59 gh-workflow(1)
60 View details about GitHub Actions workflows
61
62
63
65 gh-alias(1)
66 Create command shortcuts
67
68
69 gh-api(1)
70 Make an authenticated GitHub API request
71
72
73 gh-completion(1)
74 Generate shell completion scripts
75
76
77 gh-config(1)
78 Manage configuration for gh
79
80
81 gh-extension(1)
82 Manage gh extensions
83
84
85 gh-gpg-key(1)
86 Manage GPG keys
87
88
89 gh-label(1)
90 Manage labels
91
92
93 gh-search(1)
94 Search for repositories, issues, and pull requests
95
96
97 gh-secret(1)
98 Manage GitHub secrets
99
100
101 gh-ssh-key(1)
102 Manage SSH keys
103
104
105 gh-status(1)
106 Print information about relevant issues, pull requests, and no‐
107 tifications across repositories
108
109
110
112 --version
113 Show gh version
114
115
116
118 $ gh issue create
119 $ gh repo clone cli/cli
120 $ gh pr checkout 321
121
122
123
124
125
126 Jun 2022 GH(1)