Git rebase and children branches

Viewed 5411

I have the following situation, on my project

Master M1----M2----M3----M4----M5
                     \
                 Beta B1----B2----B3---B4
                                   \
                          Feature   F1---F2---F3

I am developing in Feature, but a really important update was released on commit M5, and I don't want to detach Feature from B3 (Feature depends on B1 and B2), and Beta can have the change (no difference for Beta).

If I make a git rebase Master on Beta, it would only move the Beta branch, right (no changes applied on Feature)? Or it would end up like this (Below - changes also applied on Feature)?

Master M1----M2----M3----M4----M5
                                 \
                             Beta B1----B2----B3---B4
                                               \
                                      Feature   F1---F2---F3

And, to be like this (changes applied on Feature), what should I do? That is my desired state...

2 Answers
Related