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

Re: how to track multiple upstreams in one repository

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Jan 19, 2009, 02:18 UTC
Message-ID
<4973E2F7.2090104@gmail.com>
In-Reply-To
<alpine.DEB.1.10.0901181855400.20741@asgard.lang.hm>
david@lang.hm wrote:
Show 6 quoted lines
> 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.
Attached are what I use. It's not pretty but it's works for me; YMMV.

export GIT_COMMITTER_NAME="@" export GIT_AUTHOR_NAME="@"

./fred.sh git://git.kernel.org/pub/scm/git/git.git git/git
./fred.sh git://git.kernel.org/pub/scm/gitk/gitk.git gitk/gitk
./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/sparse.git torvalds/sparse
./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git torvalds/linux-2.6

./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.11.y.git stable/linux-2.6.11.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.12.y.git stable/linux-2.6.12.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.13.y.git stable/linux-2.6.13.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.14.y.git stable/linux-2.6.14.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.15.y.git stable/linux-2.6.15.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git stable/linux-2.6.16.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.17.y.git stable/linux-2.6.17.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.18.y.git stable/linux-2.6.18.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.19.y.git stable/linux-2.6.19.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.20.y.git stable/linux-2.6.20.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable/linux-2.6.21.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git stable/linux-2.6.22.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.23.y.git stable/linux-2.6.23.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git stable/linux-2.6.24.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git stable/linux-2.6.25.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git stable/linux-2.6.26.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git stable/linux-2.6.27.y ./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.28.y.git stable/linux-2.6.28.y

./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git tglx/history
Previous: Greg KHNext: Julian Phillips
Message 10 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.