12 thẻ
`git tag -a v1.0.0 -m "Release v1.0.0"`
annotated tag (dùng cho release)
`git tag v1.0.0`
lightweight tag (dùng cho local markers)
`git tag -l "v1.*"`
liệt kê tags theo pattern
`git push origin v1.0.0`
push tag lên remote
`git push origin --tags`
push tất cả tags
`git tag -d v1.0.0-beta`
xoá tag local
`git push origin --delete v1.0.0-beta`
xoá tag remote
`git tag -s v1.0.0 -m "Signed release"`
GPG-signed tag
`git tag -v v1.0.0`
verify GPG signature
PATCH
bug fix tương thích ngược
MINOR
feature mới tương thích ngược (PATCH reset về 0)
MAJOR
breaking change (MINOR + PATCH reset về 0)