How to List Tags in Git

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. To list the tags you have previously created in the current repository use:
git tag.

For repositories with many tags it may be useful to find tags by name. This is possible with Git using globbing and the -l option. For example, git tag -l "v-1*" will list all the tags starting with “v-1”.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">