Skip to content

Instantly share code, notes, and snippets.

@gauteh
Created August 23, 2013 10:49
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 gauteh/6317987 to your computer and use it in GitHub Desktop.
Save gauteh/6317987 to your computer and use it in GitHub Desktop.
Command/alias for setting up branches for pull requests for a github repository: In a github cloned repository do ```$ git pullify```. Now pull requests can be accessed through origin/pr/#
[alias]
pullify = config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment