-
-
Notifications
You must be signed in to change notification settings - Fork 832
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
Missing git command in pull request step-by-step guide #509
Comments
Nice catch. Please add
Please note that people may start from an existing local clone, instead of fresh |
Good point, and thanks for the quick feedback. I'll submit a PR later today. |
* 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 <aeros167@gmail.com> * Move extra git step to its own bullet point
* 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 python#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 <aeros167@gmail.com> * Move extra git step to its own bullet point
Hello,
I was following the pull request (PR) step-by-step guide from #103 and ran into an error with a git command. My PR has to do with a typo I found in the cpython documentation, and here are the steps to recreate the situation:
I fixed the error by running
git fetch upstream
and repeating step six from above to create the branch. I'm no git expert, but I think the "Create a new branch in your local clone" could also just begit checkout -b <branch-name>
as the upstream/master and local master branches should refer to the same commit at this point in the process.I'm happy to submit a PR if warranted.
The text was updated successfully, but these errors were encountered: