Create a new tag
git tag -a v1.4 -m "my version 1.4"
Push to your remote repo
git push origin --tags
# Add tags
git tag tagName
# Push tags
git push --follow-tags
# Delete locally
git tag -d tagName
# Delete remote tag:
git tag -d tagName
git push origin :tagName
git tag -a v1.2
git push origin v1.2
git tag -a v1.4 -m "my version 1.4"
git tag -a v1.4 -m "my version 1.4"
git push --tags
// create git-tag
$ git tag -a v1.4 -m "my version 1.4"
$ git tag
v0.1
v1.3
v1.4
// Unfortunately, git push doesn’t push your tags by default, so you’ll need
to do the following to push both the new commit and the tag to your repo:
git push && git push --tags
#To Create a tag on your current branch:
git tag <tagname>
#To include a description with your tag, add -a to create an annotated tag:
git tag <tagname> -a
#To push tags:
git push origin --tags
#To push a signle tag:
git push origin <tag>
$ git tag -a <tagname> -m <msg>
$ git tag -d <tagname>
#list tags
$ git tag
v1.0
v2.0