First off, sorry if this is a duplicate, but I tried searching and all I could find was stuff on how to make branches in Git and whatnot. That's not what I'm looking for so much; I'm trying to figure out how different people out there setup their Git branches to match their workflow.
Let me give you an example of how our company does it:
Now, there are some problems with this system; I'll note a few in the comments, but I'm not really looking for "please fix our system for me", I'm just trying to see what other branching options we could be using instead, so that I can weigh the various possibilities.
So, if you have worked at multiple companies that use Git (or even better, if you're some kind of consultant who has seen tons of Git setups), could you please share: how do different companies setup Git branches (and move commits between them) to facilitate the various stages of development ... all while trying to be as minimally annoying as possible? I'm sure there must be some common patterns ... but I have no idea what they are.
P.S. If you've only seen one Git setup, but you think it's interesting, by all means please post it. However, I'd like to award the answer to whoever provides the best breakdown of possible options, and I expect that would come from someone who has seen several Git setups.
I've been managing several teams now that are using Git and we have evolved a strategy that works very well for us.
This works very well, as hot fixes against production are easy to create and deploy by just branching off master, and developers can branch against the feature branches to pull in dependencies if necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With