Skip to content

Commit 474aa2b

Browse files
zthompson47willingc
authored andcommitted
Add missing git command to pull request guide (#510)
* Add missing git command to pull request guide The pull request step-by-step guide provides instructions to create a git branch using upstream/master as the start-point. This commit adds a command to the guide which safely makes sure that this start-point exists in the local repository. Fixes #509. * Clarify the need to configure git remote This added comment explains the need for an existing remote to create a branch from. The prerequisite git workflow is already documented. Co-Authored-By: Kyle Stanley <[email protected]> * Move extra git step to its own bullet point
1 parent c2d7cfa commit 474aa2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pullrequest.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ Step-by-step Guide
6464
You should have already :ref:`set up your system <setup>`,
6565
:ref:`got the source code <checkout>`, and :ref:`built Python <compiling>`.
6666

67+
* Update data from your ``upstream`` repository::
68+
69+
git fetch upstream
70+
6771
* Create a new branch in your local clone::
6872

6973
git checkout -b <branch-name> upstream/master

0 commit comments

Comments
 (0)