How to see all tags in a git repository in command line
GitVersion ControlGit Problem Overview
Is there something like "git show tags"?
Git Solutions
Solution 1 - Git
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.
Solution 2 - Git
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.
Solution 3 - Git
Use:
git ls-remote --tags YOUR_REPOSITORY_NAME