Skip to content

add command for PowerShell (Windows) while checking out others pull requests in git bootcamp#1666

Merged
zware merged 1 commit intopython:mainfrom
XChaitanyaX:powershell
May 7, 2026
Merged

add command for PowerShell (Windows) while checking out others pull requests in git bootcamp#1666
zware merged 1 commit intopython:mainfrom
XChaitanyaX:powershell

Conversation

@XChaitanyaX
Copy link
Copy Markdown
Contributor

@XChaitanyaX XChaitanyaX commented Oct 9, 2025

I have tried something like this

git config --global alias.pr '!git fetch upstream pull/$1/head:pr_$1 && git checkout pr_$1;'

it works fine but raises an error :(

image

closes issue


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

@zware
Copy link
Copy Markdown
Member

zware commented May 7, 2026

Looks reasonable to me; thanks!

@zware zware merged commit 271fc3e into python:main May 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Checking out others pull request (via git alias) in git bootcamp is resulting in an error

2 participants