Skip to content

Instantly share code, notes, and snippets.

@stefanpenner
Created March 29, 2015 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanpenner/410aa7b6edc7703fa5d3 to your computer and use it in GitHub Desktop.
Save stefanpenner/410aa7b6edc7703fa5d3 to your computer and use it in GitHub Desktop.
[alias]
pr = "!f() { git fetch origin refs/pull/$1/head:pr-$1 && git checkout pr-$1; } ; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment