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 does not have bugfix branch type option like stash

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

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

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

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

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.

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

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
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,895 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