Last active
December 25, 2017 12:26
-
-
Save maxclaus/4ae5974dfdc83302275afeb88d6ecdb9 to your computer and use it in GitHub Desktop.
Simple script to pull Git PRs
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
pull_pr() { | |
pr_num=$1 | |
git fetch origin refs/pull/$pr_num/head:pr/$pr_num | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment