Concept

Index (staging area)

The index records the proposed snapshot for an ordinary next commit and additional bookkeeping. It is not a separate working directory. Conflicts may have multiple entries for one path.

Formal Syntax & Structure

git syntaxgit
Index (staging area)

Working Example

Example Snippetgit
git diff --cached
Git Reference