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.
4. Next requirement is simply to switch over the stable tag or stable master as you desire. Switching back is much of the samegit fetch zenstable
5. That's all there is to it, updating isn't much of a trick. Same as you already know except add zenstable to fetchgit 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"
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








