repository design - How to combining similar git repositories? -


i have migrated big old cvs repository git. in project have several different development teams, need access same or different repository folders. idea separate central repository several repositories, each team have access 1 repository folders need. behind these repositories integration repository necessary.

so problem there project folders several teams need access. example:

team-repo 1: foldera, folderb, folderd team-repo 2: folderc, folderd -->shared repo (repo1 + repo2): foldera, folderb, folderc, folderd 

in example folder d has combined. possible in git implement such concept?

my intention is, each development team need clone 1 little repository instead of big one.

you need have each "folder" in own repository (at least each independant folder).

then use concept of submodules ( http://git-scm.com/book/en/git-tools-submodules )

  • "modules" repository : repoa, repob, repoc, repod
  • "project" repository, using git submodule : team1, team 2

if @ url provided, workflow described.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -