I like the coloured output of
git log --oneline --decorate --graph
I simply want to add the date to the output (possibly in a dark grey colour).
I have not been able to do so. The closest I have come is:
git log --format="%h %d %ar %s" --graph
but the output is not coloured.
Adding the options --decorate
or --color=always
do not change anything.
I have seen the options in the man page:
%Cred: switch color to red
%Cgreen: switch color to green
%Cblue: switch color to blue
%Creset: reset color