Let's say I have the following tree structure:
A-B-C-D
|\E-F (branch one)
\G-H (branch two)
Master history: A-B-C-D
Branch one history: A-B-C-E-F
Branch two history: A-B-C-G-H
I want to squash commit B, so the respective histories should look like so:
A-C-D
A-C-E-F
A-C-G-H
I find out that, after I squash master, when I checkout branch one or two they still show the old history when I run git log. Does git copy the trees when branching? Do I need to rebase each branch individually?
Thanks