8000 Add missing git command to pull request guide by zthompson47 · Pull Request #510 · python/devguide · GitHub
[go: up one dir, main page]

Skip to content

Add missing git command to pull request guide #510

8000
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 4 commits into from
Jul 22, 2019
Merged

Add missing git command to pull request guide #510

merged 4 commits into from
Jul 22, 2019

Conversation

zthompson47
Copy link
Contributor

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.

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.
Copy link
Contributor
@aeros aeros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zthompson47 Welcome and thanks for the contribution! LGTM.

As a minor addition, it would be helpful to briefly mention that an upstream must be configured as a remote in order for this to work. The devguide already has a section explaining how to do this, but the pullrequest page likely attracts many new contributors that might not be familiar with using git.

This wouldn't be worthwhile to mention multiple times within the section, but mentioning it once wouldn't hurt.

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>
Copy link
Collaborator
@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @zthompson47 and @aeros167 for the review. I think it would be helpful to break out updating the upstream remote into its own bullet.

Copy link
Collaborator
@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great questions @zthompson47. 👍

@zthompson47
Copy link
Contributor Author

@willingc Just a quick note that my reply ended up in the prior resolved conversation but you probably saw it. Thanks!

@willingc willingc merged commit 474aa2b into python:master Jul 22, 2019
@willingc
Copy link
Collaborator

Thanks @zthompson47 😄

AA-Turner pushed a commit to AA-Turner/devguide that referenced this pull request Jun 17, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing git command in pull request step-by-step guide
5 participants
0