I have branches alpha
, beta
, and master
. I also have branches feature_a
, feature_b
, feature_c
, and feature_d
.
I then:
- Merge
feature_a
intoalpha
- Merge
feature_b
intoalpha
- Merge
feature_c
intoalpha
- Merge
feature_d
intoalpha
There are issues with feature_b
feature_d
(or perhaps they've missed a deadline and are still in the process of being tested), but the rest are ready to go to the beta
branch.
How would I be able to merge only select "branches" into the beta
branch from alpha
, so that only feature_a
and feature_c
can be merged up? Will history and ancestry remain intact (assuming the feature branches get pruned or deleted)?
I'm guessing something to the extent of git merge beta feature_c...alpha
, git merge beta feature_a...alpha
(those commands won't work but that's the theory behind what I've attempted so far).