Skip to content

Instantly share code, notes, and snippets.

@MacKentoch
Created January 1, 2017 19:49
Show Gist options
  • Select an option

  • Save MacKentoch/6331378b41b39dabf6fbcf70d5b3c655 to your computer and use it in GitHub Desktop.

Select an option

Save MacKentoch/6331378b41b39dabf6fbcf70d5b3c655 to your computer and use it in GitHub Desktop.
# fetch
git remote add <username> <URL>
git fetch <username>
git checkout -b <pull-request-branch> <username>/<pull-request-branch>
#merge not fast-forward
git checkout master
git merge <pull-request-branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment