Skip to content

Instantly share code, notes, and snippets.

@rokcarl
Created December 28, 2015 10:26
Show Gist options
  • Save rokcarl/b5aff035ca931300ba89 to your computer and use it in GitHub Desktop.
Save rokcarl/b5aff035ca931300ba89 to your computer and use it in GitHub Desktop.
Git checkout PR
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