Development Branch

Information and Tutorials on features in Mylar and how to use it
Post Reply
KaySeeOne
Posts: 1
Joined: Tue Aug 20, 2013 6:06 pm

Development Branch

Post by KaySeeOne »

Hi,

Sorry to be noob but how do you git clone the dev branch?

KaySee
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Develepment Branch

Post by evilhero »

No worries, this has been asked alot and it's not simple for those that don't use GIT very often.

Linux
- from a shell, cd into the mylar directory

Windows
if you can get to a DOS prompt, and cd into the Mylar directory - type in : git
- if you get a valid response indicating that it's installed, great continue below
- if you don't get a valid response, you need to make sure that git.exe is in your PATH environment OR run mylar using the Git Shell (it's in the Git For Windows on the github page) - it works the same regardless.

THEN (regardless of OS):
- type in : git pull (this will pull down the latest version if you haven't updated in awhile)
- then type in : git checkout development

If you get a message about Stashing the local changes when doing the checkout, it means that you've modified a file (or files) on your local repo and it won't merge them as it doesn't want to hammer what you have. Issue a 'git stash' will stash the local changes to disk, and then revert the repo to the last commit on the local machine. At that point one can do the checkout without any issues.

There has been issues with loss of the mylar.db file and the config.ini so it's best to backup them up somewhere else before doing the git pull/checkout commands. After doing the checkout, you can copy them back into the necessary location and start up Mylar and everything should be good from that point.
Post Reply