Skip to content

Commit

Permalink
Replace 'gh pr checkout' with 'gh co' alias (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 9, 2023
1 parent c5d1b7c commit 43fad8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions getting-started/git-boot-camp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ Scenario:
- Before merging it, you want to be able to test their changes locally.

If you've got `GitHub CLI <https://cli.github.com>`_ or
`hub <https://hub.github.com>`_ installed, you can simply do::
`hub <https://hub.github.com>`_ installed, you can do::

$ gh pr checkout <pr_number> # GitHub CLI
$ gh co <pr_number> # GitHub CLI
$ hub pr checkout <pr_number> # hub

Both of these tools will configure a remote URL for the branch, so you can
Expand Down Expand Up @@ -637,7 +637,7 @@ Examples of useful commands:

* Check out another PR::

gh pr checkout <pr-id>
gh co <pr-id>

* Set ``ssh`` as the Git protocol::

Expand Down

0 comments on commit 43fad8f

Please sign in to comment.