On Fri, 20 May 2016 11:16:27 -0700 (PDT)
Sharan Basappa <sharan.basa...@gmail.com> wrote:
> Git mentions that state of the file as untracked, unmodified,
> modified and staged.
> As I understand untracked files are not yet in the respository.
This is correct.
> unmodified and modified is understood but what action results in a
> file being in staged state?
> is it git add or git commit?
`git add` -- which adds the file to the staging area.
The staging area is the place in the repository which contains the
state from which the new commit will be recorded when you run
Please note that this your question is really so basic I highly advise
you do actually read an introductory book on Git before asking them and
needlessly irritating folks with trivial questions. You know, this
list is intended to help non-hardcore Git users help solving problems
they have with the tool, not actually tutoring them about the basics.
 should get you started, and  is a free go-to book on Git these
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.