### Committing

Now that the Synchronize view has been described here's how files can be committed to the repository.

1. In the Structure Compare list select file1.txt

   .

2. Pop-up 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.

   In addition to committing individual resources the project can also be selected and all of the changes in the project can be committed.

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).

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.

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