Create an annotated tag and push it to the remote
git create and push tag | tag a release in git | git tag not pushed | git | tag | releaseCaution: This command changes the system. Understand what it does before you run it.
git tag -a v1.4.0 -m 'Release 1.4.0' && git push origin v1.4.0Creates an annotated tag with author, date and message on the current commit and then pushes it. git push does not transfer tags by default, hence the second step. Useful for clearly marking deployed versions and returning to them later.
Note: git tag -l lists existing tags. Tags that were already pushed should not be moved, since other clones keep the old state.
Also searched as
- git create and push tag
- tag a release in git
- git tag not pushed