Changes between Version 2 and Version 3 of GitHubPullRequests


Ignore:
Timestamp:
May 24, 2015, 7:28:48 AM (9 years ago)
Author:
Karl Egly
Comment:

reorder cherry-picking and merging, because the latter has better integration

Legend:

Unmodified
Added
Removed
Modified
  • GitHubPullRequests

    v2 v3  
    1515}}}
    1616
    17 Using the GitHub pull request page, check the commit you want to get and simply do:
    18 {{{
    19 git cherry-pick -s sha1_commit
    20 }}}
    21 
    22 If the contribution consists of multiple commits on a separate branch off master for just this pull request, then you can merge that remote branch with:
     17If the contribution consists of a separate branch off master for just this pull request, then you can merge that remote branch with:
    2318{{{
    2419git merge reponame/branchname
    2520}}}
    2621
    27 An alternative way is using the GitHub instructions:
    28 https://help.github.com/articles/merging-a-pull-request#merging-locally
    29 
     22In case you want to only pick some commits of the contribution you can check the commit you want to get at the GitHub pull request page and simply do:
     23{{{
     24git cherry-pick -s sha1_commit
     25}}}
     26Notice that the latter will not automatically close the pull request.