On Mon, Jan 19, 2009 at 5:58 AM, <david@xxxxxxx> wrote: > On Sun, 18 Jan 2009, Bryan Donlan wrote: > >> On Sun, Jan 18, 2009 at 06:58:06PM -0800, david@xxxxxxx wrote: >>> >>> for linux I want to track both the linus tree and the -stable tree. >>> Ideally I want to be able to do a checkout of tags from either tree from >>> the same directory (along with diffs between items in both trees, etc) >>> >>> I have found documentation on how to clone from each of them, but I >>> haven't found any simple documentation on how to work with both of them. >> >> After cloning from one: >> git remote add remotename git://... >> git fetch remotename >> >> You will now have the other repository fetched into your local >> repository; tags from both will be replicated to your local tags. > > thanks, given the nature of git I figured it was something really simple, > but I just wasn't able to find it. > > I've forwarded this to the kernel.org webmaster to update the 'how to follow > linux development' page > > David Lang I use something even simpler, please see the attached .git/config file that I use. It also uses remote branches, and rewrites the refs to something like: stable/v2.6.25/master or torvalds/v2.6/master. Also in order to fetch them I use git fetch stable/v2.6.25 Ciprian Craciun.
Attachment:
config
Description: Binary data