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
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.
Now, suppose you forgot to tag the project at v1.2, which was at the commit. You can add it after the fact. To tag that commit, you specify the commit checksum (or part of it) at the end of the line for this case its 6fcub07:
$ git tag -a v1.2 6fcub07
You can see that you’ve tagged the commit:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With