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

SourceTree Git flow does not have bugfix branch type option like stash

Amro Altahlawi December 30, 2014

I use SourceTree with Stash. Stash has an option to create a new branch with branch type "bugFix", is there a way to do the same when using Git flow in SourceTree?

1 answer

0 votes
Seth
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.
December 30, 2014

Yes. If you have development or master checked out, you can hit the "git flow" button and select "Start New Hotfix".

EDIT:

Git flow is not something developed by SourceTree. It was initially developed by Nvie (https://github.com/nvie/gitflow), which is the version SourceTree installs by default. Nvie no longer maintains it, but there is a good fork at https://github.com/petervanderdoes/gitflow.

The main point I want to make is that neither of these versions supports a "bugfix" prefix that is separate from "feature" and "hotfix". The AVH edition (petervanderdoes) adds a "support" prefix, but it looks like that is for branches that are not intended to ever be "finished".

If you'd like to see SourceTree support the actively maintained AVH version of gitflow, vote for these feature requests:

 https://jira.atlassian.com/browse/SRCTREEWIN-1394 

 https://jira.atlassian.com/browse/SRCTREE-1762

Amro Altahlawi December 30, 2014

HI Seth, My mistake, i meant Bugfix and not HotFix

Seth
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.
December 30, 2014

Do you want bugfix instead of hotfix, or in addition to hotfix?

Amro Altahlawi December 30, 2014

In addition to hotfix. In my team, we use bugfix branch type to indicate that this work is related to certain bug that we have, and once it is done, we merged back to development branch. It would be nice if we can do that through Git flow. It would be same steps as start/end feature but the branch type should be bugfix.

Seth
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.
December 30, 2014

Git flow is not something developed by SourceTree. It was initially developed by Nvie (https://github.com/nvie/gitflow), which is the version SourceTree installs by default. Nvie no longer maintains it, but there is a good fork at https://github.com/petervanderdoes/gitflow. The main point I want to make is that neither of these versions supports a "bugfix" prefix that is separate from "feature" and "hotfix". The AVH edition (petervanderdoes) adds a "support" prefix, but it looks like that is for branches that are not intended to ever be "finished". If you'd like to see SourceTree support the actively maintained AVH version of gitflow, vote for these feature requests: https://jira.atlassian.com/browse/SRCTREEWIN-1394 https://jira.atlassian.com/browse/SRCTREE-1762

Michel Buczynski May 27, 2019

But BitBucket branching model support bugfix/ branches and recent Git installation come with  the AVH edition of GitFlow Git extension, so with bugfix/ branches support.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events