| 17 | |
| 18 | == The staging area == |
| 19 | A major difference between Git and Subversion is that you have to select which changes you would like to add to a commit. So from the changes in your working directory, you add these to the index, and the changes that are in the index are committed. |
| 20 | |
| 21 | [[Image(http://whygitisbetterthanx.com/images/index1.png)]] |
| 22 | |
| 23 | In Subversion, the `svn add` command just registers untracked files for committing, whereas `git add` also puts in tracked files with untracked changes into the index. |
| 24 | |
| 25 | See the [http://gitready.com/beginner/2009/01/18/the-staging-area.html article on the staging area on gitready.com]. |
| 26 | |