views:

40

answers:

2

I have just recently converted an old company svn repo which has a bunch of projects into a git repo

ie.

repo

  • project-1
  • project-2
  • project..n

From within this new git repo how would you recommend creating a submodule for each individual project?

+1  A: 

I would recommend a separate git repo for each sub module.

It works better for distributed source control to have one project per repository. One reason is to minimize the amount of history and meta data you have to sync down when cloning the repo.

John Weldon
+1  A: 

See the Git Submodule Tutorial on the git wiki.

Greg Bacon