Skip to content

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

Open
XChaitanyaX wants to merge 1 commit intopython:mainfrom
XChaitanyaX:powershell
Open

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

Conversation

@XChaitanyaX
Copy link

@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/

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

1 participant