git with development, staging and production branches

后端 未结 4 932
旧时难觅i
旧时难觅i 2020-12-22 17:58

This article sounds interesting, but I\'m pretty sure the diagrams are wrong. http://guides.beanstalkapp.com/version-control/branching-best-practices.html

Shouldn\'t

4条回答
  •  半阙折子戏
    2020-12-22 18:50

    The thought process here is that you spend most of your time in development. When in development, you create a feature branch (off of development), complete the feature, and then merge back into development. This can then be added to the final production version by merging into production.

    See A Successful Git Branching Model for more detail on this approach.

提交回复
热议问题