Let's say in master
I have a feature disabled.
I work on that feature on branch feature
, so I have a special commit $
there that just enables that feature.
Now I want to merge the changes I did in feature
into master
, but keep the enabling commit out. So it's like
main: A--B--X--Y
feature: A--B--$--C--D
So let's say I want to do it, by moving the $
commit on top of feature:
new feature: A--B--C--D--$
How would I go about doing that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…