Publishing Hotfix branches?

838 views
Skip to first unread message

Jon Palmer

unread,
Nov 17, 2010, 9:25:55 PM11/17/10
to gitflow-users
Is there a reason the htofix branches do not have a publish command?

We are evaluating git-flow for use in our team (8 engineers). Its
pretty common for us to create hotfixes that contain a number of
distinct bugs and multiple developers would contribute to a hotfix
branch. Its therefore important to be able to publish the hotfix
branch for general use. Is there support for that or do we need to
resort to native git commands?

Jon

Graeme Mathieson

unread,
Jan 18, 2011, 4:13:45 AM1/18/11
to gitflo...@googlegroups.com
Hi,

We've just started using git-flow in the office and, while I was writing up some documentation for the rest of the development team, I noticed the lack of `publish` for hotifxes. We don't strictly do pair programming, so every piece of production code goes through a review cycle to make sure it's sane. Which means that we need to be able to publish hotfixes, just as we do with features.

Given enough time, I'll get around to forking and patching (probably attempting to make `git flow hotfix` support all the commands of `git flow feature` but I thought in the meantime I'd add my voice to those who want fuller-featured hotfixes.

Cheers,

Graeme.

Mark Derricutt

unread,
Jan 18, 2011, 4:27:47 AM1/18/11
to gitflo...@googlegroups.com
If you do that want to tackle one I've wanted for awhile ( tempted to try and figure it out myself tho as well ).

$ git flow feature stage feature-1 feature-2 feature-3

Quite often I want to do an integration build of a bunch of open feature branches that may interact, or impact each other.

What this should do is create a a branch off of develop called say "staging-nnnnn" and merge each feature into it, as tho they were being "feature finished", then switch me to that branch.


The other git-flow command I'm finding I'd really love to see is a "git flow feature squash xxx".

But yes - back to the original comment - a hotfix publish would be handy, currently we've just been doing "git push origin hotfix/xxx" when we've needed multiple people working on the same hotfix.


--
"Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree
Reply all
Reply to author
Forward
0 new messages