December 2013
Beginner
420 pages
9h 17m
English
CHAPTER 4
![]()
Managing Files
In this chapter we will practice and analyze file system commands used within the working directory. We will create, modify, remove, and rename files, and check how these operations influence the repository.
As you already know, git doesn't automatically register the changes made in the working directory. To create a new revision you have to issue special commands:
$ git add -A$ git commit -m "Some comment..."
Up to this point we treated them as one atomic operation that can be described as saving the snapshot of the working directory as a new revision. Now, we will dissect this operation into two separate steps:
$ git ...