Re: Submodules
- From
- Dmitry Kakurin <dmitry.kakurin@gmail.com>
- Date
- Aug 7, 2007, 23:10 UTC
- Message-ID
- <a1bbc6950708071610g4ea4d874t458cec14a444b519@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0708072344450.14781@racer.site>
Yeah, I've already went thru these. But I want (much) more details. I can ask a bunch of random questions on this list, like:
* Why after 'submodule update' it becomes detached, what if I want it to stay on certain branch? * How do I control which branches are fetched? * What if I do 'commit -a' standing in /super, will /super/submodule commit as well? * What if I'm standing in /super/submodule and do 'commit -a'? Will super notice it in any way?
But I was hoping that it's all summarized somewhere already.
- Dmitry On 8/7/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 27 quoted lines
> Hi, > > On Tue, 7 Aug 2007, Dmitry Kakurin wrote: > > > Where can I find more information about submodules? > > I'm interested in both internal implementation details and how to use them. > > Most information is found in git-submodule.sh, although > Documentation/git-submodule.txt has beginnings of a good documentation. > > The basic idea is this: > > A subdirectory contains a self-contained project. > > Once that project is at a stage you want to have in the superproject, you > can commit that submodule state, much like a subdirectory. > > However, the history can progress in much coarser steps for the > superproject. IOW an ideal case for msysgit.git, where we want to have a > stable version which can be checked out with GitMe. > > Also, find more about submodules here: > > http://git.or.cz/gitwiki/SubprojectSupport?highlight=%28submodule%29 > > Ciao, > Dscho