Skip to content

Instantly share code, notes, and snippets.

@Osmose
Last active December 24, 2015 00:29
Show Gist options
  • Save Osmose/6717196 to your computer and use it in GitHub Desktop.
Save Osmose/6717196 to your computer and use it in GitHub Desktop.
Git alias for downloading pull requests.
[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