Piper
Piper

Reputation: 35

Creating submodules in a recently converted svn to git repo

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

ie.

repo

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

Upvotes: 2

Views: 84

Answers (2)

Greg Bacon
Greg Bacon

Reputation: 139551

See the Git Submodule Tutorial on the git wiki.

Upvotes: 1

John Weldon
John Weldon

Reputation: 40789

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.

Upvotes: 1

Related Questions