Re: workflow for component based design (newbie to Git)
- From
Frans Klaver <fransklaver@gmail.com>
- Date
- Dec 1, 2011, 12:53 UTC
- Message-ID
- <CAH6sp9NdJDsZJAfD0TX_rfi8_Uw66JxSczs6-sz6MSXu4S8hiw@mail.gmail.com>
- In-Reply-To
- <CAO8zR6N_kxQHA+Z=ruA5T8cc1A6km8Y3RouXib6oRXPWHzfA6A@mail.gmail.com>
On Thu, Dec 1, 2011 at 12:29 PM, Ivan Dimitrov <ivand58@gmail.com> wrote:
Show 9 quoted lines
> Please forgive me for asking this, but I can't seem to find > instructions anywhere. > > I'm planning to migrate from Serena PVCS to GIT, but I can't realize > how to assign a label only to particular files (component) and how to > apply the promotion model to my project with GIT ? > > So, in general, how one can handle a project with component based > architecture (and workflow) with GIT?
In general one would have one repository per component (typically a module). You can manage multiple repositories using git-submodule[1] or an alternative tool like it. Labels are then tags for that particular submodule. Labeling single files is not something git is going to do, as it is tracking repository content rather than files.
Frans
[1] http://book.git-scm.com/5_submodules.html