Easy Tutorial
❮ Home Svn Check Out ❯

SVN Tags


Version control systems support the tag option. By using the concept of tags, we can assign a more meaningful name to a specific version of the code.

Tags are primarily used for milestones in project development, such as reaching a certain stage where a separate version can be released. They often represent a fixed, complete version, similar to the Tag in VSS.

We create a tag in our local working copy.

root@tutorialpro:~/svn/tutorialpro01# svn copy trunk/ tags/v1.0
A         tags/v1.0

The above command completes successfully, and a new directory will be created under the tags directory.

root@tutorialpro:~/svn/tutorialpro01# ls tags/
v1.0
root@tutorialpro:~/svn/tutorialpro01# ls tags/v1.0/
HelloWorld.html  readme

Check the status.

root@tutorialpro:~/svn/tutorialpro01# svn status
A  +    tags/v1.0

Commit the tag content.

root@tutorialpro:~/svn/tutorialpro01# svn commit -m "tags v1.0" 
Adding         tags/v1.0
Transmitting file data ..
Committed revision 14.
❮ Home Svn Check Out ❯