gh: change command order and fix a mistake on pr/issue view command (#4722)

This commit is contained in:
Antoine Amara 2020-10-24 15:46:22 +02:00 committed by GitHub
parent 455f988c81
commit 60231caf8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,22 +3,6 @@
> 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}}`
@ -27,10 +11,26 @@
`gh issue create`
- View and filter repositorys open issues:
- View and filter a repositorys open issues:
`gh issue list`
- View an issue in the browser:
`gh issue view {{issue_number}}`
`gh issue view --web {{issue_number}}`
- Create a pull request:
`gh pr create`
- View a pull request in the browser:
`gh pr view --web {{pr_number}}`
- Check out pull requests locally:
`gh pr checkout {{pr_number}}`
- Check the status of a repository's pull requests:
`gh pr status`