Undoing Local Changes in Git when in the Working area or Staging area

Reading time: 40 minutes | Coding time: 10 minutes


Before going into our main objective "Undoing Local Changes in Git when in the Working area or Staging area", we will go through two basic concepts "Working area" and "Staging".


What is Working area?


It is the remote local space where you code on your machine. You have not added your code to git yet.


What is staging?


It means to prepare a file for a commit. You have added your file to git staging area, but not committed it yet.


Staging area l...

 •  0 comments  •  flag
Share on Twitter
Published on June 04, 2020 05:20
No comments have been added yet.