Using git 2.42.0.windows.2 and the Bash console, I have a branch H with some changes to module V (some of which are coming from another branch O), a new module L, and a module C that is from that same other branch O but which I don’t use.
The main branch, D, has an older version of V, but neither L nor C. I want to update D so it has the latest V and L, but not C. This would yield a new commit, which I will call D1.
Is it a meaningful thing to do in terms of Git ? What is the best way to do this ? Would my branch H then be considered a parent of D1, even though my branch H has module C, yet D1 doesn’t ?
The aim is for me to continue my work on module L right from the main branch D, bringing the latest version of V but ignoring module C (which whoever is working on branch O will later bring to D, but on their own terms and in their own time).
---------------------------------------------------------------------D
------------------------------- O
(work on V, creation of C)
-------------------------------- H
(work on V, creation of L)