Changes between Version 75 and Version 76 of WorkingWithGit


Ignore:
Timestamp:
Feb 6, 2017, 8:28:26 PM (7 years ago)
Author:
mkae (Marko Käning)
Comment:

Describe how to work on someone's PR

Legend:

Unmodified
Added
Removed
Modified
  • WorkingWithGit

    v75 v76  
    244244
    245245
     246=== Working with someone else's pull request through its ID ===
     247
     248This section describes how to work on a PR without the need to clone or pull from the PR author's repository.
     249
     250Check out - according to [https://help.github.com/articles/checking-out-pull-requests-locally/ GitHub's help] - the pull request {{{#ID}}} to work on as a local branch {{{BRANCHNAME}}}:
     251{{{
     252git fetch origin pull/ID/head:BRANCHNAME
     253git checkout BRANCHNAME
     254}}}
     255then work an it as needed, commit and finally decide where to push the changes made, e.g. by
     256{{{
     257git fetch upstream master
     258git checkout master
     259git merge BRANCHNAME
     260git push upstream master
     261}}}
    246262
    247263
     
    306322- [https://git-scm.com/doc Git Documentation]
    307323- [https://help.github.com GitHub Help]
     324- [https://help.github.com/articles/checking-out-pull-requests-locally/ Checking out GitHub pull requests]
    308325- [https://git-scm.com/documentation/external-links Git's list of external resources]
    309326- [https://help.github.com/articles/good-resources-for-learning-git-and-github GitHub's list of external resources]