Welcome to the Treehouse Community
Looking to learn something new?
what is Staging Area?
Stone Preston42,016 Points
from the git documentation on git basics:
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.
The basic Git workflow goes something like this:
You modify files in your working directory.
You stage the files, adding snapshots of them to your staging area.
You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory.
Basically, you add the files you want to commit to the "staging area." Once you are ready to commit these files, you commit them and all the files that were placed in the staging area are commited
gitready.com describes the staging area as:
basically a loading dock where you get to determine what changes get shipped away.