Delete branches from merged pull requests

Eric Poe February 18, 2025

In looking through my team's branches in Bitbucket Cloud, I'm seeing many from pull requests which had already been merged into `main`. I have two questions regarding this:

  1. How can I find a list of branches merged into `main` yet still exist?
  2. How can I default to "yes" the option to delete a branch after it has been merged while creating a PR?

1 answer

1 accepted

2 votes
Answer accepted
Saxea _Flowie_
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.
February 18, 2025

Hi @Eric Poe

1. The branches page in the repository menu has a 'Merged branches' filter.

Screenshot From 2025-02-19 16-33-02.png

2. This is currently not supported but there is a feature request here.

Alternatively, we provide a Bitbucket Cloud App - Flowie, which has support for defining default values such as close source.

 

Eric Poe February 19, 2025

That's a huge help, thank you!

Like Saxea _Flowie_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events