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?
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you want bugfix instead of hotfix, or in addition to hotfix?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.