I'm an SVN user at the moment and looking at moving my projects to git.
I use one SVN repository to hold all the projects I create. My structure is something like this:
/ /group1 /subgroup1 /project1 /branches ... /tags ... /trunk ... /project2 ... /subgroup2 /project3 ... /project4 ... /group2 /subgroup3 ... /subgroup4 ... /lib /lib1 /lib2 /lib3 As you can see I keep my projects in groups and /lib contains libraries shared between projects.
I chose this sort structure because:
- Similar repo structure was used in the company where I learned to use SVN.
- Allows me to have an
svnserverunning as a service/daemon on my machine with all projects hosted on it (I don't like filepath approach).
Now... to the point. I was wondering:
How this sort of workflow would work if I were to move to git?
Specifically:
- Would it be simple to migrate the repo tree to git?
- Assuming each project requires separate repo*, how would I be able to serve them all (ideally grouped in similar fashion) via
svnservegit equivalent.
*) I read about git and I understand that is the case, but I wanted to double check with experienced people.