Re: how to track multiple upstreams in one repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux