You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: book/07-git-tools/sections/reset.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ It does up to three basic operations.
148
148
149
149
The first thing `reset` will do is move what HEAD points to.
150
150
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`.
0 commit comments