git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to track multiple upstreams in one repository

From
Ddavid@lang.hm <david@lang.hm>
Date
Jan 19, 2009, 03:58 UTC
Message-ID
<alpine.DEB.1.10.0901181957070.20741@asgard.lang.hm>
In-Reply-To
<20090119021426.GA21999@shion.is.fushizen.net>
On Sun, 18 Jan 2009, Bryan Donlan wrote:
Show 14 quoted lines
> On Sun, Jan 18, 2009 at 06:58:06PM -0800, david@lang.hm 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
Previous: Bryan DonlanNext: Ciprian Dorin, Craciun
Message 3 of 13 in “how to track multiple upstreams in one repository”
  1. david@lang.hmJan 19, 2009
  2. Bryan DonlanJan 19, 2009
  3. david@lang.hmJan 19, 2009
  4. Ciprian Dorin, CraciunJan 19, 2009
  5. Greg KHJan 20, 2009
  6. Ciprian Dorin, CraciunJan 20, 2009
  7. Miklos VajnaJan 20, 2009
  8. Ciprian Dorin, CraciunJan 21, 2009
  9. Greg KHJan 21, 2009
  10. A Large Angry SCMJan 19, 2009
  11. Julian PhillipsJan 19, 2009
  12. david@lang.hmJan 19, 2009
  13. Julian PhillipsJan 19, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.