I'm looking for a way to view all commits on active branch since branching point (and including it) and hopefully since branching from master.
For example situation like:
A-B-C-D (master)
\
E-F (branch A)
I want to get commits F, E and B while F is the HEAD.
And for
A-B-C-D (master)
\
E-F (branch B)
\
G (branch C)
I want to get commits G, F, E, B in case G is current HEAD. Displaying this information with --graph option would be also great.
For now I have come up with
git log master^..HEAD
But it seems to be displaying too much information (like commits from other branches). Thanks for your help!