Skip to content

Commit

Permalink
Improve forking instructions (#1375) (#1376)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
kevinbowen777 and hugovk authored Aug 23, 2024
1 parent 8e00ff2 commit df76764
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions getting-started/git-boot-camp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ You will only need to do this once.

1. Go to https://github.com/python/cpython.

2. Press ``Fork`` on the top right.
2. Press ``Fork`` located near the top right of the page.

3. When asked where to fork the repository, choose to fork it to your username.
3. Uncheck the "Copy the ``main`` branch only" button.

4. Your forked CPython repository will be created at https://github.com/<username>/cpython.
4. Press the ``Create fork`` button.

5. Your forked CPython repository will be created at ``https://github.com/<username>/cpython``.

.. _clone-your-fork:

Expand Down Expand Up @@ -105,6 +107,10 @@ To verify the upstream for ``main``::
It should emit ``upstream``, indicating to track/pull changes for ``main`` from the
``upstream`` remote.

Once this is verified, update your local clone with the upstream branches::

$ git fetch upstream


.. _set-up-name-email:

Expand Down

0 comments on commit df76764

Please sign in to comment.