The main advantage of the staging area is that you can easily commit only part of the changes to a given file. (For example, using git add -p .) As far as I know, the only way to make a βpartialβ commit to SVN is at the level of each file, or manually back up the file and then temporarily revert the changes you hired. You donβt want to commit.
This is great if (like me) you are not a very organized developer and want to be able to sort the changes into "neat" commits after the fact. This follows Git's general attitude of preference, to give you the flexibility to provide rigor. If you don't need this, you can always just not use it and use git commit -a ...
There are no analogies with SVN, since SVN is not Git and does not have such a concept.
millimoose
source share