I've never used gitflow, and a lot of things in it do seem dumb to me.
But the thing in your article that made me say "wtf?" the loudest was deleting release branches.
The only reason I would ever delete a release branch would be if it was a mistake, if somehow the code didn't end up being released.
Otherwise, I make release branches off of master, and tag individual releases off the release branch. Bug fixes mostly get committed first to master and then cherry picked to release branches if needed.
Otherwise, I make release branches off of master, and tag individual releases off the release branch. Bug fixes mostly get committed first to master and then cherry picked to release branches if needed.
Sorry, but that sounds terrible to me. Doing fixes on the release branch, and merging the release to master after the code has been tagged, seem much better to me.
2
u/looneysquash Jun 19 '15
I've never used gitflow, and a lot of things in it do seem dumb to me.
But the thing in your article that made me say "wtf?" the loudest was deleting release branches.
The only reason I would ever delete a release branch would be if it was a mistake, if somehow the code didn't end up being released.
Otherwise, I make release branches off of master, and tag individual releases off the release branch. Bug fixes mostly get committed first to master and then cherry picked to release branches if needed.