git add tag 1

git add tag

git tag -a v1.2 
git push origin v1.2

Here is what the above code is Doing:
1. git tag -a v1.2 – creates a new tag named v1.2
2. git push origin v1.2 – pushes the tag to the remote repository

Similar Posts