SourceTree and Git Flow remote branch delete on finish

Git Flow has the ability to automatically delete the remote branch (along with the local branch) of a feature/hotfix/etc after finishing using the -F option. The -F option fetches the remote branch before it deletes it remotely so you don't lose any work.

git flow feature finish -F branch_name

I looked around but it doesn't look I the Git Flow addon in SourceTree can do the same. Is there some way to have this option in Git Flow options in SourceTree?

On a side note, great work on the SourceTree app! The whole app is great and the Git Flow integration just tops it off. Very userfriendly and intutitive.

5 answers

Hi Grant. Just so we know, is this for Windows or Mac?

Sorry, this is for Mac.

Hi Grant,

We don't currently support this but you're more than welcome to raise this issue on under the SRCTREE project.

Thanks for your input, we really appreciate it!

I found this post after googling for a solution to the same problem. If you could add this function to SourceTree, it would be wonderful !

[Have added a feature request to Jira as suggested by Kieran]

I too came across this issue. I found this fork of git-flow called the avh edition( fixes this behaviour among other improvements. Its actively maintained unlike the original. There are feature requests to integrate the avh version to sourcetree. Please vote for them. (Windows -, Mac -

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

571 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you