Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:34:40+00:00 2026-06-12T17:34:40+00:00

I have a project with several modules, some depends on others, for example: X

  • 0

I have a project with several modules, some depends on others, for example:

  • X
  • A, which depends on X
  • B, which depends on X

Developing A or B cause many changes in X.

I have development branch on git where I am developming A and B.

How can I manage pushing A or B to some sort of stable branch?

I mean, I have situation like:

[Actual Stable Branch version, commit after this are in develompent branch]

  • Commit1: changes A and X
  • Commit2: changes B and X
  • Commit3: changes A and X

After commit 3 I want push A to stable.
So I need Commit1:A,X, Commit2:X, Commit3:A,X

Is there any way to do this?
I don’t want additional repositories inside this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:34:44+00:00Added an answer on June 12, 2026 at 5:34 pm

    You still need an additional repo, ie a “parent repo” which will memorize the exact commits of A, B, and X.
    This is what submodules are for: A, B and X would be declared submodules of a parent repo.

    you would push your modifications as usual (to the branch of your choice), but in addition you would also commit and push the parent repo, in order to record the commits of each submodules.
    See “True nature of submodules” for more on that way of working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a unit which is the part of several modules(dll, applications). In some
I have have a main project I am working on, which has several modules/directories.
I have maven project with several modules. Need to deploy all modules( jars and
I have a project divided into several sub-modules (each of them are jar libraries):
I have several modules of a project and i have made each module as
I have a project with several CSS files, each with many different settings. Every
We have a mavenized project with several containers (wso2esb, wso2dss, tomcat) and many components
I have a maven2 project with several jar modules, build the project will get
We have several modules in our application. I have a project with a group
Background: We have a project with many modules. We're using EntityFramework 4.2 with FluentAPI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.