When should you branch?

后端 未结 12 1473
情深已故
情深已故 2020-11-22 04:24

When working with a SCM system, when should you branch?

12条回答
  •  耶瑟儿~
    2020-11-22 04:52

    Whenever you feel like it.

    You probably won't very frequently if you work with a centralized SCM since the branches are part of the official repository, and that doesn't really invite much experimentation, not to mention that merges really hurt.

    OTOH, there's no technical difference between a branch and a checkout in distributed SCMs, and merges are a lot easier. You'll feel like branching a whole lot more often.

提交回复
热议问题