When using the Feature Branch workflow with a small team (not Gitflow), is there a convention for applying a hot fix to a release that was previously tagged on master?
For example:
With Gitflow, the branching structure is obvious, since master is only made up of the tagged releases -- branch from master, fix, merge fix into master, release and tag from master. With the Feature Branch workflow, I'd like to know how this is typically handled, preserving an easy-to-follow history.
One option is to make the hotfix in a branch, tag it in the branch, and then merge the branch into master
. That way, you still wind up with the fix available both for the hotfix release and for future releases, but the tag for the hotfix isn't part the first-parent chain of master
.