Branches and commits
mb: A -> B -> C -> G -> H -> I
\
db: -> D -> E -> F
Progress both on db (develop branch) and mb (master). Rebasing is what I usually do. Always, actually. But, when on "F" rebasing against mb not possible (too many weird and strange conflicts). Solution: cherry pick!
I created a new branch from "mb" - let's call it "nmb" (new master branch) and in this branch I cherry picked commits D, E and F from "db". (This was the easy way around, since it was fewer commits in "db" than in "mb")
At this point, I didn't analyze the git log, which would probably have made my life easier. All files where in place and the application working as expected so I kept on working...
Now - the exact same scenario is repeating.
I can't rebase "nmb" against "mb" and the log looks awkward:
F' 10/6 -14 12:23:43
E' 10/6 -14 10:03:30
D' 10/6 -14 09:54:10
I ...
H ...
G ...
F 10/6 -14 12:23:43
E 10/6 -14 10:03:30
D 10/6 -14 09:54:10
C ...
B ...
etc
The D' and D, E' and E, F' and F share the same date/time, message and files, but different commit hashes.
Is this the result of the cherry pick and expected? One commit for the original and one commit for the cherry pick?
Is git log showing the correct data?
I'm really lost in git land.
I should add I'm a newbie and not very familiar with gits all nice features. This is probably a huge lapsus on my side and the easiest thing would be to save the files elsewhere and start over...