I have the following git log alias:
lo = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short -n 8
How can I display a list of all the git tags with a fancy format like the above, instead of just the tag name like the git tag call does?
I don’t have a neat answer to this, but you could create a shell alias for something like this:
… which on the main git repository would produce output like:
The non-obvious bit of that for me is the
^{}suffix on the tag name, which means to dereference any tag object to find the commit it points to, as described on thegit rev-parseman page.