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?
 
     
    