Difference between revisions of "Gh --help"
Jump to navigation
Jump to search
(Created page with "<pre> gh --help Work seamlessly with GitHub from the command line. USAGE gh <command> <subcommand> [flags] CORE COMMANDS browse: Open the repository in the browser...") |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | |||
+ | gh --help | ||
+ | Work seamlessly with GitHub from the command line. | ||
+ | |||
+ | USAGE | ||
+ | gh <command> <subcommand> [flags] | ||
+ | |||
+ | CORE COMMANDS | ||
+ | browse: Open the repository in the browser | ||
+ | codespace: Connect to and manage your codespaces | ||
+ | gist: Manage gists | ||
+ | [[issue]]: Manage issues | ||
+ | pr: Manage pull requests | ||
+ | release: Manage GitHub releases | ||
+ | [[repo]]: Create, clone, fork, and view repositories | ||
+ | |||
+ | ACTIONS COMMANDS | ||
+ | [[gh actions|actions]]: Learn about working with GitHub Actions | ||
+ | run: View details about workflow runs | ||
+ | workflow: View details about GitHub Actions workflows | ||
+ | |||
+ | ADDITIONAL COMMANDS | ||
+ | alias: Create command shortcuts | ||
+ | [[gh api|api]]: Make an authenticated GitHub API request | ||
+ | auth: Login, logout, and refresh your authentication | ||
+ | completion: Generate shell completion scripts | ||
+ | config: Manage configuration for gh | ||
+ | [[extension]]: Manage gh extensions | ||
+ | gpg-key: Manage GPG keys | ||
+ | help: Help about any command | ||
+ | secret: Manage GitHub secrets | ||
+ | ssh-key: Manage SSH keys | ||
+ | |||
+ | FLAGS | ||
+ | --help Show help for command | ||
+ | --version Show gh version | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
EXAMPLES | EXAMPLES | ||
$ gh issue create | $ gh issue create | ||
Line 54: | Line 55: | ||
== See also == | == See also == | ||
* {{gh}} | * {{gh}} | ||
+ | |||
+ | [[Category:GitHub]] |
Latest revision as of 10:57, 19 February 2024
gh --help Work seamlessly with GitHub from the command line. USAGE gh <command> <subcommand> [flags] CORE COMMANDS browse: Open the repository in the browser codespace: Connect to and manage your codespaces gist: Manage gists issue: Manage issues pr: Manage pull requests release: Manage GitHub releases repo: Create, clone, fork, and view repositories ACTIONS COMMANDS actions: Learn about working with GitHub Actions run: View details about workflow runs workflow: View details about GitHub Actions workflows ADDITIONAL COMMANDS alias: Create command shortcuts api: Make an authenticated GitHub API request auth: Login, logout, and refresh your authentication completion: Generate shell completion scripts config: Manage configuration for gh extension: Manage gh extensions gpg-key: Manage GPG keys help: Help about any command secret: Manage GitHub secrets ssh-key: Manage SSH keys FLAGS --help Show help for command --version Show gh version
EXAMPLES $ gh issue create $ gh repo clone cli/cli $ gh pr checkout 321 ENVIRONMENT VARIABLES See 'gh help environment' for the list of supported environment variables. LEARN MORE Use 'gh <command> <subcommand> --help' for more information about a command. Read the manual at https://cli.github.com/manual FEEDBACK Open an issue using 'gh issue create -R github.com/cli/cli'
See also[edit]
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
Advertising: