Working with check-in, checkout, and revert


show more Working with check-in, checkout, and revert provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control show less
please wait ...

Working with check-in, checkout, and revert

We've got a repository and a project set up. Let's add a file and check it in. Our working set is in the trunk directory, so first we change to that directory and then we'll create the file and we're going to put in the following code. The content is from the new project haiku error messages page. We're going to pick one that's happened to all of us before we started using Version Control. With searching comes loss and the presence of absence, My Novel not found. All right.

So we save it, and now we're going to add it to the repository. But before we add it to the repository, let's ask Subversion what's the status of the files in this directory. You can see it doesn't know what to do with f1.c because we have to tell it to add it to the repository. So to add it, we type svn add f1.c, and then if we run svn status again, you can see we have a pending add for our file that's not yet been checked in. So to check it in, we're going to commit it, we'...

Working with check-in, checkout, and revert
Video duration: 6m 12s 2h 55m Intermediate

Viewers:

Working with check-in, checkout, and revert provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control

Subject:
Developer
Software:
Git Mercurial ALM/TFS Perforce
Author:
please wait ...