Changes between Version 2 and Version 3 of GitHubPullRequests
- Timestamp:
- May 24, 2015, 7:28:48 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitHubPullRequests
v2 v3 15 15 }}} 16 16 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: 17 If the contribution consists of a separate branch off master for just this pull request, then you can merge that remote branch with: 23 18 {{{ 24 19 git merge reponame/branchname 25 20 }}} 26 21 27 An alternative way is using the GitHub instructions: 28 https://help.github.com/articles/merging-a-pull-request#merging-locally 29 22 In 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 {{{ 24 git cherry-pick -s sha1_commit 25 }}} 26 Notice that the latter will not automatically close the pull request.