Situation
I am using git log with a custom --pretty:format
:
git --no-pager log --pretty=format:"%C(yellow)%h%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset" -5
which produces an output like this
7224466 update version (4 days ago) <Xerus>
3f00703 improve stuff (9 days ago) <Xerus>
Problem
I want to also see the tags of a commit if it has any associated with it, like the option --decorate
, but I couldn't find any mention of the tags in the formatting documentation.
[ ]
, so they can look like this:51a90be [dev116-51a90be] - Fix connect.sid instructions ...
– Oligocene