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]).

The backgrounds of why Git approaches this task like it does require
deep technical discussion with lots of text.  I hope you'll gain this
understanding all by yourself once you know Git concepts better.

A minor nitpick: good netiquette hints that it still would be better if
you have copied the original answer inline: not all subscribers read
their mail online, and certainly not all of them use Google's web
interface to do so.

1. http://git-scm.com/book

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to