On Thu, Sep 25, 2014 at 12:50:56PM +0400, Konstantin Khomoutov wrote:
> On Thu, 25 Sep 2014 00:08:24 -0700 (PDT)
> Віктор Невідомий <mnivit...@gmail.com> wrote:
> > Hello. I have some question about advanced git usage. I ask it 
> > on stackoverflow, but receive only one not very extensive answer. I
> > post only link to avoid duplicating question here.
> > http://stackoverflow.com/questions/25991234/git-how-to-make-sharing-directories-instead-of-duplicating/
> > Please help me.
> You can't get a better answer: in Git, directories mean nothing to
> the VCS, and if you need to share them across different projects,
> you have to turn each of these directories into separate
> repositories and either use the so-called "subtree merging" or
> submodules.  Both concepts are explained in any decent book on Git
> (including [1]).

Another option is to use a tool made to handle a setup with multiple
git repositories, like google repo[1], mr[2].  I'm sure there are


[1]: https://code.google.com/p/git-repo/
[2]: http://myrepos.branchable.com/

Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

Code as if whoever maintains your program is a violent psychopath who knows
where you live.
     -- Anonymous

Attachment: pgpeXTlhY_Vfy.pgp
Description: PGP signature

Reply via email to