Ask HN: practical git process for teams with frequent deploy?

https://news.ycombinator.com/item?id=2210355
by robfitz • 15 years ago
2 1 15 years ago

We've been creating branches for each feature and building it into a release-x.x branch every day to deploy, basically following the guide at [1].

We've got 2 new developers who haven't used git before, and I'm burning lots of time (and making lots of exceptions) trying to get them on this process. At the same time, I've heard that one of the mantras of continuous deployment is that you always work on the trunk and keep it stable[2,3].

Can anyone describe in a bit more detail why this is desirable and how it works, on a practical level? Do you still have developers creating individual feature branches for organization, or is it literally a single branch operation?

I should clarify that we don't have a full deploy system in place, and the releases, while daily, are still pushed manually. Does working off the trunk only make sense once every commit is being auto tested?

Big thanks.

  [1]: http://nvie.com/posts/a-successful-git-branching-model/
  [2]: http://aptoma.com/select.star/2010/01/21/notes-on-continuous-deployment/ paragraph 2
  [3]: Ash Maurya's recent ebook

Related Stories

Loading related stories...

Source preview

news.ycombinator.com