Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How can I enable "Delete branch after the pull request is merged" by default?

Edited

As title. Setting per repo is enough. I would like to let all pull requests of this repo have this ticked. Our repo is hosted in Bitbucket Cloud. Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 11, 2022

Hi @Zejia Chen ,

welcome to the Atlassian community!

Usually, this setup is per user basis. As a user, if you choose to delete branch after merge in repository, on next merge the checkbox will be checked.

Btw, there's an open request to make this setting as default per all users. You can vote and watch this request https://jira.atlassian.com/browse/BCLOUD-21661 in order to be updated.

Hope this helps,

Fabio

Hi @Fabio Racobaldo _Herzum_, could you elaborate on

Usually, this setup is per user basis. As a user, if you choose to delete branch after merge in repository, on next merge the checkbox will be checked.

I can't see this memory effect at PR creation time, whle at PR merge time I simply see the value previously set by the proposer on the PR. 

(in the meantime I voted for the feature request you linked)

It seems that Bitbucket Server includes a setting to automatically delete the branch after merging, but is not included in Bitbucket Cloud.

This was a concern to our development team, so I developed an Open-Source extension for Google Chrome, which you can install from the Chrome Web Store.

I hope it helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events