News for hackers. Stuff that matters.
Re:Ask HN: What's your dev teams git multi-environment setup... by ryanwaggoner on Wednesday September 29, 2010 @08:37AM (#1739117)
Re:Ask HN: What's your dev teams git multi-environment setup... by jqueryin on Wednesday September 29, 2010 @09:17AM (#1739250)
How would one take this git flow model and add a third environment, staging, to sit between master and develop?

My initial thought would be to not change anything in the structure and to simply run a deployment script to export to the staging site using scp/ssh/rsync and ensure things are working properly before doing the same thing on production.

Re:Ask HN: What's your dev teams git multi-environment setup... by kyleslattery on Wednesday September 29, 2010 @09:21AM (#1739263)
Just think of the release branches as staging branches--once something's ready to move from develop to staging, you make a new branch, so you can keep working on develop while you test staging.
Re:Ask HN: What's your dev teams git multi-environment setup... by vessenes on Wednesday September 29, 2010 @08:49AM (#1739160)
Probably bears saying that you can install git-flow which takes care of a lot this for you. It's pretty neat. You might like it!
Re:Ask HN: What's your dev teams git multi-environment setup... by jqueryin on Wednesday September 29, 2010 @09:26AM (#1739280)
I've looked into and played around with git flow. I decided against it due to the abstraction. I'd much prefer if everybody on the team understands the underlying commands. I'll probably end up looking at the source to keep my bash-fu in check to see if there is anything the branching model article missed.
Re:Ask HN: What's your dev teams git multi-environment setup... by scrrr on Wednesday September 29, 2010 @08:46AM (#1739152)
Same here. It's straightforward, just forward the link to everyone.