How to list all tags along with the full message in git?

Try this it will list all the tags along with annotations & 9 lines of message for every tag:

git tag -n9

can also use

git tag -l -n9

if specific tags are to list:

git tag -l -n9 v3.*

(e.g, above command will only display tags starting with “v3.”)

-l , –list
List tags with names that match the given pattern (or all if no pattern is given).
Running “git tag” without arguments also lists all tags. The pattern is a shell wildcard
(i.e., matched using fnmatch(3)). Multiple patterns may be given; if any of them
matches, the tag is shown.

Leave a Comment

error code: 521