It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to delete branches from Git Repository


I tried to delete a branch that I created in GIT repository but got an error as,

Branch 'XYZ' could not be deleted
Control Freak: Push rejected. Control Freak ----- Push rejected. You are not allowed to delete branch "XYZ".

I was able to delete branches initially but everyone in my team face this error now. 

1 answer


You need a Bitbucket administrator to configure the Control Freak plugin (repository --> settings --> control freak) to allow this delete.  

By default Control Freak does not allow "master" or "release/*" style branches to be deleted. Notice the "Block Branch Deletes On" setting here in this screenshot from the Control Freak configuration page in Bitbucket:



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Teamwork

Listening out loud: how Fabian Lopez works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

95 views 2 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you