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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.