⌘K
gh
all
Work seamlessly with GitHub. Some subcommands such as `config` have their own usage documentation.
More info →Options (4)
booleanCreate a new issue
Example:
gh issue {{[new|create]}}booleanView and filter the open issues of the current repository
Example:
gh issue {{[ls|list]}}-w, --webbooleanView an issue in the default web browser
Example:
gh issue view {{[-w|--web]}} {{issue_number|url}}booleanCheck out a specific pull request locally
Example:
gh {{[co|pr checkout]}} {{pr_number|url|branch}}Examples (8)
Clone a GitHub repository locally
gh repo clone owner/repositoryCreate a new issue
gh issue [new|create]View and filter the open issues of the current repository
gh issue [ls|list]View an issue in the default web browser
gh issue view [-w|--web] issue_number|urlCreate a pull request
gh pr [new|create]View a pull request in the default web browser
gh pr view [-w|--web] pr_number|url|branchCheck out a specific pull request locally
gh [co|pr checkout] pr_number|url|branchCheck the status of a repository's pull requests
gh pr statusmade by @shridhargupta | data from tldr-pages