Skip to content

Tag

Tag

lightweight tag

add tag on commit

$ git tag <tag_name> <commit hash>

Annotated tag

tags with more info

$ git tag <tag_name> <commit hash> -a -m "tag message"

Delete tag

$ git tag -d <tag_name>