Suppose my Git repository initially has two branches: Foo and Bar.
... ─ Foo ... ─ Bar
I create a third branch, FooBar in which I commit the merge of the two other branches.
... ─ Foo ──┐
            FooBar
... ─ Bar ──┘
FooBar is now one commit ahead of both Foo and Bar. Next, I do some more work, committing a few times on Foo only.
... ── A ───┬── B ── C ── D ── Foo
            FooBar
... ─ Bar ──┘
The question is: since the first parent of branch FooBar is no longer Foo, can I rebase the merge commit in branch FooBar to again have Foo and Bar as its two parents? In other words, can I incorporate the development in Foo into the previously merged FooBar along with the unchanged Bar?
... ── A ── B ── C ── D ── Foo ──┐
                                 FooBar
... ─ Bar ───────────────────────┘
 
     
     
     
     
    