Abhijit Chakra Abhijit Chakra - 3 months ago 9
Git Question

How to add TAG to a already committed in Git and Bitbucket

I already committed but missed to TAG it,Is it possible to add

TAG
to already committed code i am using
Git
and
Bitbucket
So far i tried with the below git bash commands

1. git tag "v1.0" fd5j6dj
2. `git tag -a v1.2 9fceb02 -m "Message here"`


Still no luck can you please suggest anything which would work

Answer

You can tag it later and run git push --tags to update the tags to the remote repo, so you never miss it. But in some teams, to push tags may need permission.