From 60231caf8dd77194bf8518a27d685c696c809d81 Mon Sep 17 00:00:00 2001 From: Antoine Amara Date: Sat, 24 Oct 2020 15:46:22 +0200 Subject: [PATCH] gh: change command order and fix a mistake on pr/issue view command (#4722) --- pages/common/gh.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pages/common/gh.md b/pages/common/gh.md index 76397653e..aed36888c 100644 --- a/pages/common/gh.md +++ b/pages/common/gh.md @@ -3,22 +3,6 @@ > Work seamlessly with GitHub from the command line. > More information: . -- 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 repository’s open issues: +- View and filter a repository’s 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`