Username Password
Bookmark and Share
Back to Developers Blog

Using Git to Contribute to WebGUI 8

• 8/14/2014 8:24 pm by beppu

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 using this button:

Fork Button

This will create a fork of WebGUI owned by your GitHub account.

export user=you

Next, clone the repository you just forked.

git clone$user/webgui.git

Then, add AlliumCepa/webgui as a remote.

git remote add upstream
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.

Making Contributions

If you're making small changes, do it in your master branch.

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.

More Info

To learn more about using git and github, I recommend the following:

© 2020 Plain Black Corporation | All Rights Reserved