Changes between Version 3 and Version 4 of GitStarted


Ignore:
Timestamp:
Nov 12, 2011, 9:41:30 AM (12 years ago)
Author:
nielx
Comment:

Add information on the staging area

Legend:

Unmodified
Added
Removed
Modified
  • GitStarted

    v3 v4  
    1515[[Image(http://media.pragprog.com/titles/tsgit/images/repo-shared-simple.png)]]
    1616
     17
     18== The staging area ==
     19A 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
     23In 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
     25See the [http://gitready.com/beginner/2009/01/18/the-staging-area.html article on the staging area on gitready.com].
     26
    1727== Editing history ==
    1828
     
    2737}}} 
    2838
    29 == The staging area ==