A branch is copy of the code at a given point in time.
Example:
You're writing a program, and checking the code into CVS periodically.
You then make a release of that program to the public.
You should make a copy of the code in the state that it was in when you released it into a branch.
You can then continue developing the code on the trunk.
If there are some changes that you make on the trunk that you'd like to also be in the released version, you can merge your changes into the branch, and then make a new release from the branch as an update.
This method allows you to keep stable repositories code and really helps with versioning.
发布评论
评论(1)
分支是给定时间点的代码副本。
示例:
这种方法允许您保持稳定的存储库代码,并且确实有助于版本控制。
A branch is copy of the code at a given point in time.
Example:
This method allows you to keep stable repositories code and really helps with versioning.