Created
December 28, 2015 10:26
-
-
Save rokcarl/b5aff035ca931300ba89 to your computer and use it in GitHub Desktop.
Git checkout PR
This file contains hidden or 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
echo "Type the PR number, e.g. 358." | |
read PR_NO | |
git fetch upstream pull/$PR/head:pr-$PR; | |
git checkout pr-$PR; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment