Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete branches from Git Repository

sowmiya
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!
November 28, 2019

Hi,

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

0 votes
Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2020

 

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:

 

control-freak-policy.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events