Best branching strategy when doing continuous integration?

后端 未结 12 554
温柔的废话
温柔的废话 2020-12-12 11:30

What is the best branching strategy to use when you want to do continuous integration?

  1. Release Branching: develop on trunk, keep a branch for each rel
12条回答
  •  既然无缘
    2020-12-12 12:01

    Continuous integration should not be any kind of a factor in determining your branching strategy. Your branching approach should be selected based on your team, the system under development and the tools available to you.

    Having said that ...

    • there's no reason why CI couldn't be used in both of the approaches you describe
    • those approaches work quite well in combination
    • neither of the two work "better" than the other
    • CI makes total sense with an unstable trunk

    All of this was answered in the fourth question on the page that you took the diagrams from: http://blogs.collab.net/subversion/2007/11/branching-strat/

提交回复
热议问题