Best branching strategy when doing continuous integration?

后端 未结 12 523
温柔的废话
温柔的废话 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 11:58

    I personally find it much cleaner to have a stable trunk and do feature branching. That way, testers and the like get to stay on a single "version" and update from trunk to test any feature that is code complete.

    Also if multiple developers are working on different features, they can all have their own separate branches, then merge to trunk when they're done and send a feature to be tested without the tester having to switch to multiple branches to test different features.

    As an added bonus, there is some level of integration testing that comes automatically.

提交回复
热议问题