Subversion - should anyone be developing off the trunk?

前端 未结 17 1692
清酒与你
清酒与你 2020-12-13 03:55

When using Subversion, should developers be working off the trunk or should the trunk be only used for merges from each individual developer\'s branch and watched by a conti

17条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 04:11

    When using Subversion, it's common practice for everyone to work out of the trunk. If a particular developer is working on a large or "experimental" feature, it can be wise to create a separate branch for that work, which can be merged back into the trunk later.

    Although, the method you are describing, with each developer having their own branch, is closer to Git than Subversion. If this is the way that you prefer to work, I would highly recommend using Git instead.

    With Git, it's not necessary to use some sort of continuous integration server to watch the separate branches. Instead, each developer has their own branch, which they can just merge back into the main branch whenever they want.

提交回复
热议问题