Git tag: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=External=
* https://git-scm.com/book/en/v2/Git-Basics-Tagging
=Internal=
=Internal=



Revision as of 01:43, 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.

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>'