1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 06:44:56 +02:00
tldr/pages/common/gh.md
2020-10-13 07:37:01 -03:00

588 B

gh

Work seamlessly with GitHub from the command line. More information: https://cli.github.com/.

  • Create a pull request:

gh pr create

  • View a pull request in the browser:

gh pr view {{pr_number}}

  • Check out pull requests locally:

gh pr checkout {{pr_number}}

  • Check the status of your pull requests:

gh pr status

  • Clone a repository locally:

gh repo clone {{owner}}/{{repository}}

  • Create a new issue:

gh issue create

  • View and filter repository’s open issues:

gh issue list

  • View an issue in the browser:

gh issue view {{issue_number}}