Git flow uses a certain branch (master
) for stable releases. Each release is tagged by a version number. The git flow scheme further uses release branches
branched-off from develop
to prepare a release. However, apparently those release branches are deleted when the release is finished (after the content has been merged back into both master and develop).
Hotfix
branches are there to deal with issues in production release and are both branched-off and merged-into master. But apparently theser are mainly done to prepare a new minor release version.
However, how should I deal with minor fixes that do not require a new release? Imagine that I want to collect several small bugfixes until I release a new minor version. Wouldn't it be useful to keep the release branch for that? Or is there any other/better solution?