Using Git to Contribute to WebGUI 8
For those of you want to contribute to the development of WebGUI 8, here are a few tips to help you get started.
First, fork AlliumCepa/webgui.
This will create a fork of webgui owned by your github account.
Next, clone the repository you just forked.
git clone firstname.lastname@example.org:$user/webgui.git
Then, add AlliumCepa/webgui as a remote.
git remote add upstream https://github.com/alliumcepa/webgui.git git fetch upstream
At this point, you have your own fork of webgui along with a copy of the development fork, AlliumCepa/webgui.
Keeping Track of Upstream Changes
To keep track of what's happening upstream, you should periodically do this:
git fetch upstream git merge upstream/master
It's especially important to do this before you send us a pull request, because it makes it easier for upstream to merge your work in.
If you're making small changes, do it in your
git checkout master
If you're making larger changes, create a branch off of your master.
git checkout -b big-feature master
Once you're in the right branch, edit the code and commit your changes. When you think your work is ready to be merged back into AlliumCepa/webgui, send us a pull request.
To learn more about using git and github, I recommend the following: