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

New 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
* Numbered list
* ssh formatting
* code block removal

Reference:
#882 (review)
  • Loading branch information
za committed Jun 7, 2022
commit 6efc70196ad595447aa95c1fc4630b1ac1420fbe
22 changes: 6 additions & 16 deletions gitbootcamp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -561,32 +561,22 @@ WIP: short description.

Example of useful commands:

1. Login

.. code-block:: bash
#. Login::

gh auth login

2. Create a PR

.. code-block:: bash
#. Create a PR::

gh pr create

3. Checkout others PR

.. code-block:: bash
#. Checkout others PR::

gh pr checkout

4. Set ssh at the git protocol

.. code-block:: bash
#. Set ``ssh`` at the git protocol::

gh config set git_protocol ssh

5. Set the browser

.. code-block:: bash
#. Set the browser::

gh config set browser <$browser-path>
gh config set browser <browser-path>
0