I am looking for a way to see all the commits on the active branch from the branch point (and including it) and, hopefully, from the branch from the master.
For example, a situation like:
ABCD (master) \ EF (branch A)
I want to get commits F, E and B, and F - HEAD.
And for
ABCD (master) \ EF (branch B) \ G (branch C)
I want to get commits G, F, E, B in case G is the current HEAD. Displaying this information with the -graph option will also be great.
Now i came up with
git log master^..HEAD
But it seems that too much information is being displayed (e.g. commits from other branches). Thank you for your help!
source share