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

Pull Request delete branch

On BitBucket when you do a pull request it deletes the branch after everything is merged. How can this be done in SourceTree?

1 answer

1 accepted

Hi Matt,

We would never delete branches locally, this is generally considered a dangerous operation. For example, you might be working on a branch locally and haven't pushed changes, by deleting it remotely and causing this to cascade locally could mean you lose changes (albeit probably still reachable). We are looking into workflow improvements in the future that could help deal with this process.

Hope that helps

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,023 views 4 22
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