Skip to content

Instantly share code, notes, and snippets.

@modcab
Created March 9, 2015 09:38
Show Gist options
  • Save modcab/affaf102a9c43d7153ce to your computer and use it in GitHub Desktop.
Save modcab/affaf102a9c43d7153ce to your computer and use it in GitHub Desktop.
[Bitbucket] Check out a pull request branch before merging it
# Got it from http://www.electricmonk.nl/log/2014/03/31/test-a-pull-merge-request-before-accepting-on-bitbucket/
git fetch https://bitbucket.org/user/repo branch
git checkout FETCH_HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment