Files
tldr/pages/common/gh.md
2020-02-16 23:30:39 -03:00

33 lines
515 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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`
- Create a new issue:
`gh issue create`
- View and filter repositorys open issues:
`gh issue list`
- View an issue in the browser:
`gh issue view {{issue_number}}`