Skip to content

Instantly share code, notes, and snippets.

@maxcnunes

maxcnunes/pull_pr.sh

Last active Dec 25, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.