git-tag

Showing all tags

$ git tag
>>> import re
>>> regex = re.compile('^refs/tags/')
>>> [r for r in repo.references if regex.match(r)]

References