Git · Rewriting and tagging

git tag

Marks a release point with an annotated, human-readable tag.

Syntax
git tag -a v1.0 -m "Release 1.0"

Example

Example
git tag -a v1.0 -m "Release 1.0"
git push origin v1.0

More in this group

git describe git rebase git rebase --abort Interactive rebase

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course