I have this in my ~/.gitconfig file (global system configuration):

[alias]
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative

That gives me a prettiER (more useful) view of the log with 'git lg'.

On Fri, Nov 14, 2014 at 1:09 PM, Alan Mackenzie <acm@muc.de> wrote:
Hello, Andreas.

On Fri, Nov 14, 2014 at 07:58:14PM +0100, Andreas Schwab wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > Thanks!  But the log doesn't identify which branch the commits are in.
> > How do I persuade git log to do this?

> git log --decorate

This doesn't work very well.  It prints out the information for the first
commit that is displayed, but no more.  This feels like a git bug.

> (permanently: git config [--global] log.decorate true)

> Andreas.

> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

--
Alan Mackenzie (Nuremberg, Germany).