-
Notifications
You must be signed in to change notification settings - Fork 18
Development Workflow
The main repository of LIO (this one) will permanently maintain the two basic branches of the code: master and develop. We have master as the placeholder for the latest official release of the code, whereas develop is where new features are continually incorporated. This repository might eventually also host some release or hotfix branches, but these should be transitory.
If you want to contribute to our code, the first step is creating a github account (sign up here) and forking this repository (click "Fork" on the upper right corner of this page).
You will first need a personal account in github (sign up here). Then you will need to go to click "Fork" on the upper right corner of any of Lio's github web pages (for example, this one) to create your own fork. This is where you will store your work online.
Now on to your local set-ups. To clone your fork into your computer, you will need to run the following command:
$ git clone https://github.com/user/repo local_name
This will set up a local_name folder in your current location and download there all the content of your forked repository (user and repo should be changed with your fork's information). The information here will stay linked to your github online repository via an https protocol, but it is possible (and recommended) to use an ssh protocol instead (for more information visit this page).
Now enter your new directory and change your current branch (probably master) to develop using >$ git checkout develop. Create a new branch by running >$ git checkout -b newbranch and push it to your online repository with git push -u origin newbranch. Now you can work here, commit changes and push them to you forked repository as you please.