3 ms·
I use something similar: [alias] lt = log --graph --pretty=changes [pretty] changes = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cg
by joeshaw 13y ago
I use something similar:
[alias]
lt = log --graph --pretty=changes
[pretty]
changes = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
It's nice to be able to separate the format specifier from the alias itself. Makes the configuration a lot cleaner.