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.