Skip to content

Instantly share code, notes, and snippets.

@maxclaus
Last active December 25, 2017 12:26
Show Gist options
  • Save maxclaus/4ae5974dfdc83302275afeb88d6ecdb9 to your computer and use it in GitHub Desktop.
Save maxclaus/4ae5974dfdc83302275afeb88d6ecdb9 to your computer and use it in GitHub Desktop.
Simple script to pull Git PRs
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