Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Tagging, or creating a human readable label for a current state of a repository in Perforce is called Labeling, and it's really easy. We'll just go to our folder p1, right-click, go down to the Label menu, and up comes the Label dialog. In this case we'll put in our Label, we'll say it's v1, and we'll automatically apply the label to the file revisions of the things inside Work\p1 at the latest revision and click Label. And it says This label doesn't exist. Create it? Yep, that's what we want.
Now labels are suitable for rollbacks, and we can see that by starting the rollback process here for this file, and if we dropdown Rollback file to: we can pick label, and when we browse. There is our v1 label. So this is the way in which you switch between different versions when you want to roll back and make a change and then roll forward toward to where you were to continue on working. And that's it for labeling in Perforce. It's really that easy. So we're not going to actually roll back anything because we're already at the most recent version.
So let's move on to Branching and Merging in perforce.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101622 Viewers
61 Video lessons · 88377 Viewers
71 Video lessons · 72218 Viewers
56 Video lessons · 103969 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.