How to change branches

MarcT edited this page Oct 3, 2012 · 9 revisions
Clone this wiki locally

There are currently 4 branches of the layman repo other than trunk. If you intend to use trunk, ignore this.

The 5 branches are as follows:

  1. 0.22-fixes
  2. 0.23-fixes
  3. 0.24-fixes
  4. 0.25-fixes
  5. 0.26-fixes

If you want to use any of these branches follow the bellow steps to change your local repo.
CD into the local folder. ex: cd /usr/local/portage/layman/mt-mythtv

Change your local repo using the following command: git checkout -b branch origin/branch
Substitute one of the above branches for both branch items in the command above.

Run: layman -S to update to the new branch.

You can confirm which branch you have by running: cat profiles/repo_name from the mt-mythtv folder.