Skip to content

Update bootcamp FAQ about "Checking out others' PRs"#1694

Merged
ezio-melotti merged 5 commits intopython:mainfrom
ezio-melotti:update-alias
Apr 16, 2026
Merged

Update bootcamp FAQ about "Checking out others' PRs"#1694
ezio-melotti merged 5 commits intopython:mainfrom
ezio-melotti:update-alias

Conversation

@ezio-melotti
Copy link
Copy Markdown
Member

@ezio-melotti ezio-melotti commented Nov 18, 2025

I wanted to pull a PR branch and I was looking up "Checking out others' PRs", and the options were either to install gh, hub, or creating a Git alias.

Since I wanted a less permanent solution, I created this PR to show the commands individually before suggesting adding them as an alias. In addition I replaced checkout with the more modern switch, and capitalized "Git".

Another possible solution is to add the contributor's repo as a remote and fetch their branch from there, but I didn't want to add yet another solution. If people want to add it, we can create another PR.


📚 Documentation preview 📚: https://cpython-devguide--1694.org.readthedocs.build/

@ezio-melotti ezio-melotti self-assigned this Nov 18, 2025
@ezio-melotti ezio-melotti added the type-feature Additions; New content or section needed label Nov 18, 2025
Comment thread getting-started/git-boot-camp.rst Outdated
Copy link
Copy Markdown
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

And replace the other two git checkout on this page with git switch?

And also on getting-started/pull-request-lifecycle.rst and index.rst?

Comment thread getting-started/git-boot-camp.rst Outdated
Comment thread getting-started/git-boot-camp.rst Outdated
Comment thread getting-started/git-boot-camp.rst Outdated
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Comment thread getting-started/git-boot-camp.rst Outdated
Comment thread getting-started/git-boot-camp.rst Outdated
ezio-melotti and others added 2 commits November 19, 2025 22:13
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Copy link
Copy Markdown
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 @ezio-melotti and @hugovk

@ezio-melotti ezio-melotti merged commit a5e6aad into python:main Apr 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature Additions; New content or section needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants