Git

git tag

SafeTags

git tag -a v1.0 -m "release"

Marks releases with tags; push with --tags.

Examples

  • git tag -a v1.0 -m 'release'; git push --tagsCreate and push an annotated tag

Syntax

git tag [-a <name> -m <msg>] | git push --tags

Before you run it

Creation is safe; push shares it.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store