You are here: Home > Tutorials > Switching between Zen-Stable.git and Zen.git
Endorsements
Distributions:
These distributions have the Zen Kernel package available as an option or as the default Kernel. More information can be found on each project's page.
SMGL Button
Yoper Button


Kernel-Related:

Pappy Button
 
Debian-Related:
Liquorix provides debian builds of the zen kernel for debian testing, sid, or any testing/sid based distributions.
Liquorix
OpenID Login

 

Switching between Zen-Stable.git and Zen.git

How to switch between zen-stable.git and zen.git in a single cloned tree.
This guide requires you to have atleast 1 of the kernel trees cloned (it does not matter which one).
 
We'll assume you have zen.git cloned and want to switch to zen-stable.git
 It does not matter, if you want to do it the other way around then just change things accordingly.
-----
1. Go to the directory where you cloned the kernel source.
2. Execute this command, again - switch things around if you are switching to zen.git instead.
git remote add zenstable git://zen-kernel.org/kernel/zen-stable.git
3. Now fetch the remote, you will see a bunch of new branches come up on the remote and tags also (stable tags) - they will be located at zenstable/branch instead of origin/branch as the master tree is.
git fetch zenstable
4. Next requirement is simply to switch over the stable tag or stable master as you desire. Switching back is much of the same
git checkout -b master-stable zenstable/master # checkout local branch "master-stable" based on master on zenstable
git checkout v2.6.31-zen4 # checkout the v2.6.31-zen4 zenstable tag

# To return to the master on zen.git, it would be
git checkout master # to checkout back to the stable master it would be "master-stable" 
5. That's all there is to it, updating isn't much of a trick. Same as you already know except add zenstable to fetch
git fetch # for zen.git
git fetch zenstable # for zen-stable.git
git pull zenstable master # will update master-stable when you are on it, or screw up your zen.git master if you are on it

 

Document Actions
Log in


Forgot your password?
New user?
OpenID Login

Mailing List / Forum

subscription/archive info: zen_kernel+subscribe@googlegroups.com (send blank email)

http://groups.google.com/group/zen_kernel (view archives or use google account to subscribe/post/etc.)