Svn Tag
# SVN Tags (tag)
* * *
Version control systems support the tag option. By using the concept of tags, we can give a specific version of the code a more meaningful name.
Tags are mainly used for milestones in project development. For example, when development reaches a certain stage, a separate version can be made for release. It often represents a fixed, complete version, which is roughly similar to the Tag in VSS.
We create a tag in the local working copy.
root@tutorial:~/svn/tutorial01# svn copy trunk/ tags/v1.0 A tags/v1.0
The above code completes successfully, and a new directory will be created under the tags directory.
root@tutorial:~/svn/tutorial01# ls tags/ v1.0 root@tutorial:~/svn/tutorial01# ls tags/v1.0/HelloWorld.html readme
Check the status.
root@tutorial:~/svn/tutorial01# svn status A + tags/v1.0
Commit the tag content.
root@tutorial:~/svn/tutorial01# svn commit -m "tags v1.0" Adding tags/v1.0Transmitting file data ..Committed revision 14.
YouTip