Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Add git alias for checking out a PR on GitHub? #129

Open
salcode opened this issue Mar 13, 2021 · 0 comments
Open

Add git alias for checking out a PR on GitHub? #129

salcode opened this issue Mar 13, 2021 · 0 comments

Comments

@salcode
Copy link
Member

salcode commented Mar 13, 2021

Previously (in version 1.x.x) we had this functionality as part of the bash aliases (which have since all been removed (see #120)).

# gpr 96, will fetch PR 96 create branch pull-request-96
gpr () { git fetch origin pull/$1/head:pull-request-$1; }

Do we want to add a git alias for this instead?

e.g. git ghpr 96

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant