Confusion about an image caption on soft reset. Should it be a soft reset or mixed reset?

Open Beginner friendly
#2,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
87/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
git
Domain
documentation

Research direction

Read the caption and surrounding reset explanation in book/07-git-tools/sections/reset.asc, around line 242, and compare them with images/reset-path3.svg. Check which reset mode matches the index behavior described in the section. Update the caption if it is inaccurate; done means the image caption agrees with the explanation.

Written by the indexing model from the issue text.

Description

The caption of the following image is "Soft reset with a path to a specific commit".

However, based on the difference discussed by that section of the book, it seems to be a mixed reset since the index is replaced.

images/reset-path3.png

https://github.com/progit/progit2/blob/a013e3230a1207cfa5ae94d28ba7d2021063c337/book/07-git-tools/sections/reset.asc?plain=1#L242

Dominant language
CSS
Stars
6.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from progit/progit2

All issues in progit/progit2

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.