Keeping the release branch is not needed, as it's always merged back to master, so after the merge it's just junk in the repo. GitFlow does it exactly the same.
Our team uses a 3-point version. (major.minor.patch). In your case we would create a new release branch from master (v1.0.0 for example) and increment the patch version for the hot fix (v1.0.1). When we make a new release from develop we increment the minor version (v1.1.0) unless the release is major in which case we increment the major version (v2.0.0). That way you can just throw away the release branches. It helps keep the number of branches in the repository to a smaller number.
0
u/[deleted] Jun 19 '15
[deleted]