Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify which Update>> prompt is referred to in interactive-staging #1930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mmmmmmichael
Copy link

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant