From: Jonathan Nieder <jrnieder@gmail.com>
To: Andrew Wong <andrew.w@sohovfx.com>
Cc: git@vger.kernel.org, Jens Lehmann <Jens.Lehmann@web.de>
Subject: Re: How to manage multiple repos using submodules?
Date: Sat, 16 Apr 2011 13:20:54 -0500 [thread overview]
Message-ID: <20110416182053.GA11017@elie> (raw)
In-Reply-To: <4DA9C7A7.4010503@sohovfx.com>
Hi Andrew,
Andrew Wong wrote:
> It seems like submodule isn't meant for this, but many people seems
> to use submodule to link many smaller repos together. With this
> setup, I imagine whenever someone pushed a small repo, they're
> /supposed/ to push the big repo as well. This way, if I simply
> update the big repo and do a "git status", git will tell me that
> which of the smaller repos are out of date.
Yep, if you want to keep track of the state of a bunch of repos over
time, submodules are not so bad[*]. In practice, often one instead
wants to keep a bunch of repos up-to-date, and all this meta-history
tracking is overkill.
I'd suggest using the mr tool. Some projects (e.g., the
debian-installer project) are using it to help people keep all their
repos up to date.
http://kitenet.net/~joey/code/mr/
Hope that helps,
Jonathan
next prev parent reply other threads:[~2011-04-16 18:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-16 16:45 How to manage multiple repos using submodules? Andrew Wong
2011-04-16 18:20 ` Jonathan Nieder [this message]
2011-04-17 6:48 ` Jonathan Nieder
2011-04-17 18:42 ` Andrew Wong
2011-04-19 13:18 ` Phil Hord
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110416182053.GA11017@elie \
--to=jrnieder@gmail.com \
--cc=Jens.Lehmann@web.de \
--cc=andrew.w@sohovfx.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).