Difference between revisions of "Contributing with Github"
(Created page with " === Create a Github account === If you haven't already, create an account in Github === Fork the project === Go to https://github.com/resiprocate/resiprocate and click th...")
Revision as of 20:04, 17 September 2014
Create a Github account
If you haven't already, create an account in Github
Fork the project
Go to https://github.com/resiprocate/resiprocate and click the Fork button at the top right-hand corner of the page.
Github will ask you which organisation you want to put your fork in. Choose your personal page (e.g. mine is https://github.com/dpocock)
Check out your fork
Here is an example for the dpocock fork
mkdir ~/ws cd ~/ws git clone email@example.com:dpocock/resiprocate.git resiprocate
Create a branch from master
cd resiprocate git branch build-fixes git checkout build-fixes
Make your changes, e.g.
Now add the file to the change set and commit it (these are two steps in Git):
git add configure.ac git commit -m 'autotools: fix a typo'
Finally, send the new build-fixes branch up to the server:
git push -u origin build-fixes
Create a pull request
Go back to Github and look at the page for your fork.
Github should tell you that it sees your recent changes and there should be a button labelled Create pull request
Click the button and add any comments for the reviewers.