What do “branch”, “tag” and “trunk” mean in Subversion repositories?

前端 未结 16 1577
后悔当初
后悔当初 2020-11-22 11:51

I\'ve seen these words a lot around Subversion (and I guess general repository) discussions.
I have been using SVN for my projects for the last few year

16条回答
  •  没有蜡笔的小新
    2020-11-22 12:13

    In SVN a tag and branch are really similar.

    Tag = a defined slice in time, usually used for releases

    Branch = also a defined slice in time that development can continue on, usually used for major version like 1.0, 1.5, 2.0, etc, then when you release you tag the branch. This allows you to continue to support a production release while moving forward with breaking changes in the trunk

    Trunk = development work space, this is where all development should happen, and then changes merged back from branch releases.

提交回复
热议问题