# Re: git file sharing/versioning.

3 messages from 2010-01-04 to 2010-01-06. Participants: Bas Driessen, Nicolas Sebrecht.
Thread: https://gitlist.dev/t/22088

## Bas Driessen, 2010-01-04 04:47

Subject: Re: git file sharing/versioning.
Message-ID: <1262580426.9041.21.camel@ams.xobas.net>
URL: https://gitlist.dev/e/1262580426.9041.21.camel%40ams.xobas.net
In-Reply-To: <1262580346.9041.20.camel@ams.xobas.net>

```
Hello,

I have a project where I have 2 trees with several hundreds of files.
Let's call them tree1 and tree2. Only a handful of files in tree2 are
different. What is the best way to set this up in GIT? Basically most
files in tree2 should act as a symbolic link to tree1. So if the file
changes in tree 1, it automatically changes in tree 2. Obviously, I
don't want to store everything double. Branching does not appear to be
an option as changes in tree1 would not be visible in the tree2 branch. 

Any advise of how to set this up?

Thanks in advance for your help.

Bas.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

```

## Nicolas Sebrecht, 2010-01-05 20:10

Subject: Re: git file sharing/versioning.
Message-ID: <20100105201038.GA12942@vidovic>
URL: https://gitlist.dev/e/20100105201038.GA12942%40vidovic
In-Reply-To: <1262580426.9041.21.camel@ams.xobas.net>

```
The 04/01/10, Bas Driessen wrote:

> I have a project where I have 2 trees with several hundreds of files.
> Let's call them tree1 and tree2. Only a handful of files in tree2 are
> different. What is the best way to set this up in GIT? Basically most
> files in tree2 should act as a symbolic link to tree1. So if the file
> changes in tree 1, it automatically changes in tree 2. Obviously, I
> don't want to store everything double. Branching does not appear to be
> an option as changes in tree1 would not be visible in the tree2 branch. 

Look at:

  git merge --help
  git rebase --help
  git cherry-pick --help

-- 
Nicolas Sebrecht

```

## Nicolas Sebrecht, 2010-01-06 19:42

Subject: Re: git file sharing/versioning.
Message-ID: <20100106194225.GA12942@vidovic>
URL: https://gitlist.dev/e/20100106194225.GA12942%40vidovic
In-Reply-To: <1262732791.14714.7.camel@ams.xobas.net>

```
[ Please, don't top post and don't answer to me in private for public
  questions. ]

The 06/01/10, Bas Driessen wrote:

>    Btw, this list does not appear to be a "user" list, more a "developer"
>    list. Is there a list specifically for users only?

They are the manual pages... for end-users.

-- 
Nicolas Sebrecht

```
