threads / discuss / 22088

Re: git file sharing/versioning.

Subject: Re: git file sharing/versioning.

## tl;dr

3 messages between Jan 4, 2010 and Jan 6, 2010.

replies: 2people: 2as markdown or json

Bas Driessen· Jan 4, 2010, 04:47 UTC · lore
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· Jan 5, 2010, 20:10 UTC · re: Bas Driessen · lore
The 04/01/10, Bas Driessen wrote:
Show 7 quoted lines
> 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· Jan 6, 2010, 19:42 UTC · lore
[ 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

← back to recent threads