Git tag: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


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]].
By default, tags are not pushed to remote server. For more details see [[]] below.


=List Tags=
=List Tags=

Revision as of 01:45, 27 November 2018

External

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.

By default, tags are not pushed to remote server. For more details see [[]] below.

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

Create a Tag

git tag '<tag-name>'