Committing

Now that we have a better understanding of the Synchronize view let's go ahead and commit the work we have done.

  1. In the Structured Compare list select file1.txt

    Structure Compare

  2. Popup the menu and choose Commit. Click OK when asked to add and to supply a commit comment.

  3. Observe that file1.txt is no longer in the list.

    Structure Compare

    In addition to committing individual resources we can also select the project and commit all of the changes in the project.

  4. Select JanesTeamProject.
  5. Choose Commit from the project's context menu and type in "my first project" when prompted for a commit comment.

    Observe that the remaining resources in the project are committed and the structure compare list is now empty. 

  6. Click on the Resource perspective button in the shortcut bar (at the far left of the window).

    Resource Perspective

  7. In the navigator create a third file called file3.txt with the following contents:

    This is the brief contents
    of file 3.

  8. Select the project (JanesTeamProject) and choose Team > Synchronize with Repository again from the context menu.

    When the Synchronize view opens, there is only one change, the new file3.txt.

    Outgoing mode

  9. Select file3.txt, and choose Commit from the context menu.

Next topic Working with another user 

Back to previous topic Synchronize view

 
Copyright IBM Corporation 2000, 2002. All Rights Reserved.