Command

git tag

List or create tags. Without annotation options, a tag normally references the chosen object directly; use -a and a message to create a tag object. Signing configuration can change defaults.

Formal Syntax & Structure

git syntaxgit
git tag [--list [PATTERN]] | git tag [-a -m MESSAGE] NAME [OBJECT]

Working Example

Example Snippetgit
git tag -a v1.0.0 -m "First release"
Git Reference