Developing patches should follow this workflow:
- Fork on GitHub (click Fork button). This creates your own working copy on github.
- Clone to computer:
git clone [email protected]:<<Your Github Username>>/speedtest.git
- cd into your repo:
cd speedtest
- Set up remote upstream:
git remote add -f upstream git://github.com/zpeters/speedtest.git
- Create a branch for the new feature:
git checkout -b my_new_feature
- Work on your feature, add and commit as usual
Creating a branch is not strictly necessary, but it makes it easy to delete your branch when the feature has been merged into upstream, diff your branch with the version that actually ended in upstream, and to submit pull requests for multiple features (branches).
- Push branch to GitHub:
git push origin my_new_feature
- Issue pull request: Click Pull Request button on GitHub