Skip to content

Instantly share code, notes, and snippets.

@gabrielgodoy-zz
Created February 17, 2017 20:46
Show Gist options
  • Save gabrielgodoy-zz/4c77efdc967355c185032d453d036e45 to your computer and use it in GitHub Desktop.
Save gabrielgodoy-zz/4c77efdc967355c185032d453d036e45 to your computer and use it in GitHub Desktop.
Fetch and check PR locally
git fetch origin pull/[PULL_ID]/head:[BRANCHNAME]
git checkout BRANCHNAME
Example
git fetch origin pull/40/head:feat/definition-module-refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment