The gh
tool¶
The gh
tool is used to do anything and everything GitHub-related on
the command line.
Getting Help¶
There's a lot of help text for gh
.
Run any gh command with --help
to see usage, flags, and examples.
gh --help
gh repo --help
gh repo create --help
gh issue create --help
<Tab><Tab>
(trigger completion) to see available commands along
the way.
Authentication¶
After you first install gh
, use the gh auth login
command to set up
authentication.
gh auth login
gh
to manage
your GitHub through the command line.