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

SourceTree Git Flow Finish Feature Delete Remote Branch

After doing some research to see if anyone else wanted the same thing that I wanted. I found SRCTREEWIN-782 on Jira for SourceTree. It says that it has not been started yet and I was wondering if this is something that will be done in the future or if it is not practical. I am fairly new to Git and SourceTree, but I understand how Git Flow works. I noticed that you already have the "Delete Branch" AND "Push changes to remote" on the finish process of "Release" portions of Git Flow and it merges and deletes the remote and local release branch. I was wondering if you could have the same "Push changes to remote" option for when finishing a "Feature". Currently it just deletes the local feature branch and leaves the remote feature branch there. Throughout time, this would create many, many, many feature branches in our Repository that we wouldn't use ever again. I personally feel like it "should" have the option to delete the remote feature branch.

8 answers

+1 for this. It's very confusing after a while to tell which remote branches are still live. And my devs keep forgetting to delete them manually.

Agreed. I'd love to have a couple options: 1. delete from local; 2. delete from local and remote;

Totally agree. Voted on this issue.

Yep, totally agree (but I logged that Jira issue in the first place, so I'm biased :))

I too came across this issue. I found this fork of git-flow called the avh edition(https://github.com/petervanderdoes/gitflow) 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 - https://jira.atlassian.com/browse/SRCTREEWIN-1394, Mac - https://jira.atlassian.com/browse/SRCTREE-1762)

Totally agree. There should be an option in the dialog to delete the remote branch too... If forgotten, the origin/remote becomes soon a mess.

+1 for this uption! this is what makes git flow so clear imo, it is so essential.

I would like to see this feature as well

Mercurial doesn't have this/these problems.  *sigh*....

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,942 views 0 12
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