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

SourceTree and Git Flow remote branch delete on finish

Grant May 20, 2013

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

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 July 9, 2013

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]

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2013

Hi Grant,

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

Thanks for your input, we really appreciate it!

0 votes
Grant May 21, 2013

Sorry, this is for Mac.

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events