Skip to content

Instantly share code, notes, and snippets.

@Osmose
Created August 29, 2013 18:16
Show Gist options
  • Save Osmose/6381509 to your computer and use it in GitHub Desktop.
Save Osmose/6381509 to your computer and use it in GitHub Desktop.
git pr 555 # Pull PR #555 down from github as a branch named pr/555
[alias]
pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment