I know how to list all git tags. But - what if I want to list them and print each tag's annotation?
Can I do this with git itself, or do I need a shell loop with git show
I know how to list all git tags. But - what if I want to list them and print each tag's annotation?
Can I do this with git itself, or do I need a shell loop with git show
I use this alias myself, maybe adapt it to your needs :
git config --global alias.tl 'git for-each-ref --sort=-authordate --format="%(contents:subject) %(objectname:short) (%(refname:short))" refs/tags'
# then just
git tl
Note that it is expecting annotated tags.