Git tagging

List available tags:

$ git tag
$ git tag -l <tag name>

Creating tags:

$ git tag -a <tag name> -m <comment>

Show tag data:

$ git show <tab name>

Sharing Tags:

$ git push origin <tag name>
$ git push origin --tags  // share all tags

Checking out tags:

$ git checkout -b <branchname> <tag name>

Leave a Reply

Your email address will not be published. Required fields are marked *