Skip to content

Commit a912093

Browse files
committed
Fix issue #557: Not precise statement for those two columns of git status -s
1 parent 3f34aa2 commit a912093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/recording-changes.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ M lib/simplegit.rb
184184
----
185185

186186
New files that aren't tracked have a `??` next to them, new files that have been added to the staging area have an `A`, modified files have an `M` and so on.
187-
There are two columns to the output - the left hand column indicates that the file is staged and the right hand column indicates that it's modified.
187+
There are two columns to the output - the left-hand column indicates the status of the staging area and the right-hand column indicates the status of the working tree.
188188
So for example in that output, the `README` file is modified in the working directory but not yet staged, while the `lib/simplegit.rb` file is modified and staged.
189189
The `Rakefile` was modified, staged and then modified again, so there are changes to it that are both staged and unstaged.
190190

0 commit comments

Comments
 (0)