Skip to content

Instantly share code, notes, and snippets.

@Miista
Created April 3, 2014 17:32
Show Gist options
  • Save Miista/9958973 to your computer and use it in GitHub Desktop.
Save Miista/9958973 to your computer and use it in GitHub Desktop.
Checkout PR
git fetch origin pull/2/head
git checkout -b pullrequest FETCH_HEAD
OR
git fetch origin pull/<#>/head:<local_branch_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment