Skip to content

Instantly share code, notes, and snippets.

@liusheng
Created December 25, 2018 08:13
Show Gist options
  • Save liusheng/dd811b608f62fa81c1549d594acc0938 to your computer and use it in GitHub Desktop.
Save liusheng/dd811b608f62fa81c1549d594acc0938 to your computer and use it in GitHub Desktop.
example for checkout github pr
git remote add upstream https://github.com/docker/machine
git config --global user.email 'zuul@openlab.com'
git config --global user.name 'openlab'
git fetch upstream refs/pull/4545/head:pr4545
git cherry-pick pr4545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment