Git tag: Difference between revisions

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


  git tag -l
  git tag -l
=Create a Tag=
git tag '<''tag-name''>'

Revision as of 01:27, 27 November 2018

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

Create a Tag

git tag '<tag-name>'