Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
As we learned earlier, tagging or labeling is a key feature of version control. It allows you to tag a complete set of files so that you can get back to a known state which will allows you, for example, to fix a bug in a released version while you're working on the next version. Tagging in SVN is really easy. We'll just move up one directory to the parent and then tell SVN to make a copy, svn copy from trunk to the tags directory, and we'll call it v1. Now if we run the status command, you can see the svn thinks we want to create a v1 directory inside of tags and add f1c to that.
Our tagging is not complete as we still have to commit the tag to the repository. So if we do svn update and svn log, we can see now that we have here at the top create tag for version 1. And for the future if we do svn log and pipe it into more, we'll be able to stop it so that it doesn't scroll off the top of the screen. So here we can see the entire revision 5 where we're creating the tag for version 1.
Now go inside the tags directory, and we'll go inside v1, and there is our f1.c. All right, that's how easy it is to do tagging. Now, any time you need to make updates, you'll come back to this directory and be able to make your changes right here. And now this is separate from what's in your trunk directory, so those two things now are completely independent.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98693 Viewers
61 Video lessons · 86019 Viewers
71 Video lessons · 69865 Viewers
56 Video lessons · 102148 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.