Forums

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

How to prevent branch deletion

Krishnan Ramagopal
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!
December 27, 2025

I want to prevent certain branches getting deleted. When I check branch restriction page, it gives option 'allow deleting this branch' but there is no option to prevent deletion. Any help please

1 answer

1 accepted

2 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2025

Hi @Krishnan Ramagopal 

Welcome to the Bitbucket Cloud community!

By leaving that option unticked, this means that branches can't be deleted (either by explicit delete operations or via git rebase), so as long as you leave it unticked - deletion will be prevented.

Cheers!

- Ben (Bitbucket Cloud Support)

Krishnan Ramagopal
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!
December 28, 2025

Thanks for the clarification

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events