Understanding the Staging Area in Gitby@pragativerma
983 reads

Understanding the Staging Area in Git

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The staging area in Git is the main working area in version control. It is the middle ground between what you have done to your files (also known as the working directory) and what you had last committed (the HEAD commit) It gives you space to prepare (stage) the changes that will be reflected on the next commit. Git's staging area comes in handy when we place files in a staging area before committing what has been staged. Even the deletion of a file must be recorded in Git's history, therefore deleted files must be staged.

Company Mentioned

Mention Thumbnail
featured image - Understanding the Staging Area in Git
Pragati Verma HackerNoon profile picture

@pragativerma

Pragati Verma


Receive Stories from @pragativerma

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa