progit2
progit2 copied to clipboard
specify which Update>> prompt is referred to in interactive-staging
- [x] I provide my work under the project license.
- [x] I grant such license of my work as is required for the purposes of future print editions to Ben Straub and Scott Chacon.
Context
A somewhat inattentive reader (me, when I read the chapter) may be temporarily confused about which of the Update>>
prompts the (in this PR edited) sentence is referring to as the previous prompt was also an Update>>
prompt.
I believe this change would make the chapter slightly more easily understandable, but if you disagree and think I am the only person this would ever happen to (which is possible, the PR is merely based on my personal reading experience) or that this is not worth changing, then you can safely ignore and close the PR.
The following is the excerpt this change is about:
To stage the `TODO` and `index.html` files, you can type the numbers:
[source,console]
----
Update>> 1,2
staged unstaged path
* 1: unchanged +0/-1 TODO
* 2: unchanged +1/-1 index.html
3: unchanged +5/-1 lib/simplegit.rb
Update>>
----
The `*` next to each file means the file is selected to be staged.
If you press Enter after typing nothing at the `Update>>` prompt, Git takes anything selected and stages it for you: