Home > database >  Tool for versioning parent and child
Tool for versioning parent and child

Time:04-21

I have the next uses cases:

Project parent v1.9

Child project 1 v1.3 (in .net)

Child project 2 v1.6 (in c )

All child projects are in a repository in bitbucket.

I need to find a tool where I can administrate these use cases.

Any ideas??

CodePudding user response:

To keep those exact version in sync, inside a same repository, you could use git submodules

First, create a branch at P v1.9.
You would then git submodule add CP1 (Child Project 1) to P (Parent), and git submodule add CP2 to P

That would add a folder CP1 and CP2 to P.
You can go in each subfolder, and git restore the exact version you want to have associated with P.

  • Related