Why do I need the staging area


Why do I need the staging area?

I would make a change on my working directory and then make a commit. I think this two steps are enough. Why Git need the staging area?


The working directory is different for each member working on some project while staging area is where the changes made by you on you code in working directory will reflects to other members and when you commit all file get move to repository permanently.


Thank you, I feel that you are clarifying the concepts to me, but I am still consfused.

I practice git quite a little. Hope I can understand it better later.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.