Created
September 23, 2019 13:01
-
-
Save lukejacksonn/5105833eb7d43eaf14846209200a3931 to your computer and use it in GitHub Desktop.
An alias to checkout a pull request locally from the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ppr='f () { git fetch origin pull/$1/head:PR-$1 && git checkout PR-$1; }; f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment