10000 gh-861: Document GitHub CLI by za · Pull Request #882 · python/devguide · GitHub
[go: up one dir, main page]

Skip to content

gh-861: Document GitHub CLI #882

N 8000 ew issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 1, 2022
Prev Previous commit
Next Next commit
gh-861 Address feedback from @hugovk
  • Loading branch information
za committed Jun 29, 2022
commit 2ff396bb517bd0ceca7cb7bd94e476f74a6f8a9f
18 changes: 9 additions & 9 deletions gitbootcamp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -556,27 +556,27 @@ To edit an open pull request that targets ``main``:
GitHub CLI
----------

GitHub CLI is a CLI (Command Line Interface) to work with GitHub resources.
You can create new pull request, create new release, set alias command,
check PR status, and etc, using this CLI.
GitHub CLI is a CLI (Command-line Interface) to work with GitHub.
For example, you can create pull requests and releases,
set alias commands, check PR statuses.

You can install GitHub CLI `by following this installation instructions.
<https://github.com/cli/cli#installation>`_ After installing GitHub CLI,
you need to have your GitHub CLI authenticated::
You can install GitHub CLI `by following these instructions.
<https://github.com/cli/cli#installation>`_. After installing,
you need to authenticate::

gh auth login

Example of useful commands:
Examples of useful commands:

* Create a PR::

gh pr create

* Checkout others PR::
* Check out another PR::

gh pr checkout <pr-id>

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

gh config set git_protocol ssh

Expand Down
0