Skip to content

How to merge existing, but partially newer code with code from subrepo? #88

@ulfw

Description

@ulfw

This is more a how to question, but the problem came up while we were "fighting" with submodules and stree. So this is the problem description:

We have a few projects with a common core, we name it "A".
When starting a new project we copy over the code of "A" to the project and develop the project. (yes, I know, not the best way, we are working an that).
Of course there are changes to the code of "A" also. And these changes are committed only into the repository of the project, but not "A". Some developers are smart and make the same changes again on the repository of "A". So we have the problem, that we have different code changes in "A" and in he project.

We want to use the subrepo concept to update the repository of "A". Its a nice way to develop our projects and our core and merge changes of the core in the projects more often.

But to use it, we have to merge the code initially. Is there a way to merge these changes?
Maybe I don´t see the wood for the trees?

Or ist this more a stackoverflow question?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions