SourceTree Git Flow Finish Feature Delete Remote Branch

Sam North November 13, 2013

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

8 votes
Dan Hanley May 21, 2014

+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.

Gavin Engel September 23, 2015

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

0 votes
Jason Kanaris February 22, 2018

...

0 votes
jackchung1 March 2, 2017

I would like to see this feature as well

0 votes
Serhan Uygur February 2, 2017

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

0 votes
Francesco Leonetti June 19, 2016

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.

0 votes
Isuru November 16, 2014

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)

0 votes
Geoff Sokoll April 10, 2014

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

0 votes
Gal Segal December 14, 2013

Totally agree. Voted on this issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events