I have 2 branches in git which have diverged a little. I want to display the commits on both. with git log --oneline --graph --decorate branch1 branch2 I can see the 2 branches, their history (graphically), and where they diverge. But this display shows all commits.
How can I do the above command, but stop at the first commit these 2 branches have in common? i.e. I want the last line of the output to be the commit which they have in common, and then see (in the graphical ASCII art way that git log --graph shows) the branches diverging.
git version 2.17.1 on Ubuntu Linux 18.04