git: what’s the difference between the index, the staging area, the working tree / area,

Your working area (aka workspace or working tree) are the files you’re currently working on.

The index (aka the staging area) is the list of files that you are about to commit to your local repo.

In a nutshell, your workflow is:

Your Working area -> Index -> your local repo

This is very handy:

http://stackoverflow.com/questions/3689838/difference-between-head-working-tree-index-in-git

Leave a Reply

Your email address will not be published. Required fields are marked *