xxxxxxxxxx
Create a new tag
git tag -a v1.4 -m "my version 1.4"
Push to your remote repo
git push origin --tags
xxxxxxxxxx
$ git push origin v1.4
Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (14/14), 2.05 KiB | 0 bytes/s, done.
Total 14 (delta 3), reused 0 (delta 0)
To git@bitbucket.com:atlasbro/gittagdocs.git
* [new tag] v1.4 -> v1.4
xxxxxxxxxx
// 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