Jump to content

Need help separating big project into smaller PHP projects


bcassol

Recommended Posts

Hi,

I have one big project written in PHP.

We currently use Git to do the source code versioning.

 

Now I would like to know how can I separate this big project into smaller projects, each in its subfolder?

 

Today I have:

 

BigProject

|-- SubProject1

|-- SubProject2

|-- SubProject3

 

I wanted to be able to control the version of each SubProject.

I'm thinking Git submodules but I read about it and it seems confusing and awkward to work with.

 

 

Cheers,

Bruno

That's not really what branches are for.

 

True. I've never used the submodules functionality but obviously it's better to learn to do it the right way :) I just thought maybe using separate branches for each might work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.