Is there something like "git show tags"?
git tag
to list tags used in the repo.
git tag -l
if you use the -l
option you can pass a search pattern to filter out tags.
git tag -l
git tag
-l <pattern>
List tags with names that match the given pattern (or all if no pattern is given).
Typing "git tag
" without arguments, also lists all tags
See also GitHub tagging.
And I mentioned in "How to sort git tags by version string order of form rc-X.Y.Z.W?" to sort order used for listing tags.
Use:
git ls-remote --tags YOUR_REPOSITORY_NAME
精彩评论