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
- git pushPush to remote
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store