I have Tags option in BitBucket option - was added tags/** branch pattern for preventing deletion but still user is able to delete

Gonuguntla Hanumantharao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2016

This question is in reference to Atlassian Documentation: Branch permission patterns

I have Tags option in BitBucket option - was added tags/** branch pattern for preventing deletion but still user is able to delete

1 answer

0 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2016

How are you deleting the tag?

I just setup a similar branch permission for tags/** and the delete was blocked, when I ran git push origin :test-tag to delete the tag:

remote: ----------------------------------------------------
remote: The branch refs/tags/test-tag is protected by branch permissions. It cannot be deleted.
remote: Check your branch permissions configuration with the project administrator.
remote: ----------------------------------------------------

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events