Git staging area or Git index is a list of files that will go to the next commit. Use this tag for questions about problems and operations with the staging area.
The staging area is a file, generally contained in your Git directory, that stores information about what will go into your next commit. It’s sometimes referred to as the “index”, but it’s also common to refer to it as the staging area. (from Pro Git)
Files are staged (indexed) with git-add, git-mv or git-rm and removed from stage with git-reset. Actual contents of the staging area can be shown with git-status.
Recommended questions:
- How do I show the changes which have been staged?
- How to undo 'git add' before commit?
- https://programmers.stackexchange.com/questions/119782/what-does-stage-mean-in-git