skip to content
Alvin Lucillo

Setting a git tag

/ 1 min read

A git tag is basically a label to a commit. It’s often used to mark releases. For example, v23.3.2+prerelease.

git tag -a v23.3.2+prerelease -m "v23.3.2 (Pre-release)" # add tag on current commit
git push v23.3.2+prerelease                              # publish the tag
git show v23.3.2+prerelease                              # view tag details