gitgithubpull-requestgit-fork

How to do a GitHub pull request


How do I create and/or send a pull request to another repository hosted on GitHub?


Solution

  • To learn how to make a pull request I just followed two separate help pages on Github (linked below as bullet points). The following command line commands are for Part 1. Part 2, the actual pull request, is done entirely on Github's website.

    $ git clone https://github.com/tim-peterson/dwolla-php.git
    $ cd dwolla-php
    $ git remote add upstream https://github.com/Dwolla/dwolla-php.git
    $ git fetch upstream
    // make your changes to this newly cloned, local repo 
    $ git add .
    $ git commit -m '1st commit to dwolla'
    $ git push origin master