Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Staging Area:

Sumit Rawal answered on May 6, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers


Staging Area:

0

It is also known as index area.

There is logical layer/virtual layer in git between working directory and local repository.

Working Directory  Staging Area  Local Repository

We cannot commit the files of working directory directly. First we have to add to the

staging area and then we have to commit.

This staging area is helpful to double-check/cross-check our changes before commit.

This type of layer is not available in other Version Control Systsem Tools like CVS, SVN etc

Git stores files in repository in some hash form, which saves space.

GIT will uses internally snapshot mechanism for this. All these conversions and taking

snapshots of our data will be happened in staging area before commit.

Eg: If a sample repository takes around 12 GB space in SVN where as in GIT it takes hardly

420 MB.

Hence Staging Area is the most important Strength of GIT.  

Popularity 3/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 06 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.