Skip to content

Commit 3b49bbe

Browse files
committed
Fix SHA-1 of file.txt v2 to match diagrams
The SHA-1 of `file.txt` in the diagrams is `9e5e6a4` but the text referred to `9e5e64a`. Since I'm assuming either hash is fine, I'm fixed the text to match the diagram since I figure that's an easier change.
1 parent 1098680 commit 3b49bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/07-git-tools/sections/reset.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ It does up to three basic operations.
148148

149149
The first thing `reset` will do is move what HEAD points to.
150150
This isn't the same as changing HEAD itself (which is what `checkout` does); `reset` moves the branch that HEAD is pointing to.
151-
This means if HEAD is set to the `master` branch (i.e. you're currently on the `master` branch), running `git reset 9e5e64a` will start by making `master` point to `9e5e64a`.
151+
This means if HEAD is set to the `master` branch (i.e. you're currently on the `master` branch), running `git reset 9e5e6a4` will start by making `master` point to `9e5e6a4`.
152152

153153
image::images/reset-soft.png[]
154154

0 commit comments

Comments
 (0)