List tags

Git has multiple methods to list tags and display the commits related to a tags. All methods are supported by the Dimensions CM Git Client.

Examples:

  • To list lightweight and annotated tags:

    git tag –l

  • To list all tags and the commits the tags point to:

    git show-ref --tags

  • To show the details for a specific tag:

    git show rel2.1

Back to top