Git tag: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
Create, list, delete or verify a [[Git_Concepts#Tag|tag object]]. To check out the [[Git Concepts#Commit|commit]] associated with a specific [[Git Concepts#Tag|tag]] into a [[Git Concepts#Detached_HEAD|detached HEAD]], see [[Git_checkout#Checkout_a_Tag_into_a_Detached_HEAD|git checkout]]. | Create, list, delete or verify a [[Git_Concepts#Tag|tag object]]. To check out the [[Git Concepts#Commit|commit]] associated with a specific [[Git Concepts#Tag|tag]] into a [[Git Concepts#Detached_HEAD|detached HEAD]], see [[Git_checkout#Checkout_a_Tag_into_a_Detached_HEAD|git checkout]]. | ||
=List Tags= | |||
Tags can be listed based on a given pattern. All tags are listed if no pattern is given. | |||
git tag [-l] [''name-pattern''] | |||
git tag | |||
git tag -l |
Revision as of 17:52, 18 December 2017
Internal
Overview
Create, list, delete or verify a tag object. To check out the commit associated with a specific tag into a detached HEAD, see git checkout.
List Tags
Tags can be listed based on a given pattern. All tags are listed if no pattern is given.
git tag [-l] [name-pattern]
git tag
git tag -l