HTML and CSS Reference
As you can see from Figure 9-5, there are four main boxes: the Commit changes
box (top), the Unstaged Changes box (bottom left), the Commit Message box
(bottom middle), and the Staged Changes box (bottom right). The Commit
changes box shows the difference between the selected file in the Unstaged
Changes box and the current version in the repository. The Unstaged Changes
box shows all of the files that have changed since the last commit. The files
have three states:
White: New File
Red: Deleted File
Green: Changed File
The commit message box allows you to add a commit message; you need to
add a commit message with every commit. The Staged Changes box shows all
files that will be committed with the current commit. In order to commit files, you
must move them from the Unstaged Changes box to the Staged Changes box.
More often than not, you will want to commit all of your files. Click on the >>
button next to the Unstaged Changes box. This will automatically move all files
to the Staged Changes box. Enter a commit message and click on the Commit
button. This will commit all of the changes to the local repository.
As you change files in Aptana Studio, you will see that their colors will change in
the App Explorer, as shown in Figure 9-6.
Figure 9-6. Changed files in the App Explorer
An asterisk (*) next to a file or folder indicates a change. Depending on your
Aptana Studio theme, the file's background will also change color to indicate
what the current state of the file is. If you would like to see what the colors mean
for your specific theme, look into the Themes preferences in the Aptana Studio
preferences pane and look for the Unstaged Files and Staged Files elements, as
shown in Figure 9-7.