everybody! I am using gerrit, and i met some issue. I have created a tag which is v1.0. And I want to delete it from local and remote now. The operations have been done:
git tag -d v1.0
git push origin refs/tags/v1.0
Then , I met a error: ! [remote rejected] v1.0 (cannot delete references)
error: failed to push some refs to 'ssh://[email protected]:29418/testproject'
What's wrong with it ?
The syntax is: git push --delete [remote_name] [tag1] [tag2] ... The command deletes the specified remote tags. The command deletes all the tags from the specified remote repository.
Tap Photos you're tagged in. Tap the photo you want to hide. Tap to open the photo, then tap to the right of the photo. Tap Remove Tag.
To delete the Git tag from the local repo, run the git tag -d tag-name command where tag-name is the name of the Git tag you want to delete.
To delete or overwrite an existing tag, grant (set "ALLOW") "Push" permission with the "Force Push" option enabled for reference name refs/tags/*.
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