I can\'t seem to get git log --branches
to correctly filter its output. It seems as if Git ignores it.
For example, the head of git log --graph --
Let's say your history looked like this
d -- e [refs/tags/release1]
/
a -- b -- c [refs/heads/master]
\
f -- g [refs/heads/dev1]
\
h [refs/heads/dev2]
If you do git log --branches
it's the same git log master dev1 dev2
, so you'll see commits a,b,c,f,g and h. If you did git log release1 --branches=dev*
it's the same as git log release1 dev1 dev2
. You'll see a,d,e,b,f,g, and h, but not c.