Abhijit Chakra Abhijit Chakra - 1 year ago 61
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

to already committed code i am using
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 Source

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.