From df767646281f73ae4fd7d1f6dc6c07e28d9269f8 Mon Sep 17 00:00:00 2001 From: Kevin Bowen Date: Thu, 22 Aug 2024 23:54:42 -0700 Subject: [PATCH] Improve forking instructions (#1375) (#1376) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- getting-started/git-boot-camp.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/getting-started/git-boot-camp.rst b/getting-started/git-boot-camp.rst index b5465cdb7a..c857f688e7 100644 --- a/getting-started/git-boot-camp.rst +++ b/getting-started/git-boot-camp.rst @@ -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//cpython. +4. Press the ``Create fork`` button. + +5. Your forked CPython repository will be created at ``https://github.com//cpython``. .. _clone-your-fork: @@ -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: