From: Frans Klaver Date: Thu, 01 Dec 2011 12:53:19 GMT Subject: Re: workflow for component based design (newbie to Git) Message-ID: In-Reply-To: On Thu, Dec 1, 2011 at 12:29 PM, Ivan Dimitrov wrote: > 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