From: Jacob Helwig Date: Fri, 06 Nov 2009 17:41:05 GMT Subject: Re: Git drawbacks? Message-ID: <8c9a060911060941w2eea5b04m1bd8dfe7a4d5ea70@mail.gmail.com> In-Reply-To: On Fri, Nov 6, 2009 at 09:35, Dmitry Smirnov wrote: > No, #2 is about the repository slicing, branching, merging (SCM in other words). > Let's suppose I have the product that have 2 directories: component1 and > component2. They were developing together for  previous product (on the same > branch, for example). Now, I would like to have component1 and replace > component2 with some 3rd party component. What should I do with Git to get this? > Or maybe I wish to stick with some version of component2 and provide only bug > fixes for this product... > Or let's take a look at GDB. They are using binutils which are in separate > repository (they use CVS, but let's imagine they use Git). How many effors they > will need for SCM? For example, they would prefer to stick to some stable > version/branch of the binutils but should be able to commit bug fixes. > > Once again, perhaps there is some way to do this with Git? I did not yet find > it. > Sounds like you want submodules. Check out the git-submodule(1) manpage.