Skip to content

Commit df02cfe

Browse files
Sherry520networm
authored andcommitted
fix issue484
1 parent 92830bb commit df02cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ image::images/reset-mixed.png[]
179179
如果指定 `--mixed` 选项,`reset` 将会在这时停止。
180180
这也是默认行为,所以如果没有指定任何选项(在本例中只是 `git reset HEAD~`),这就是命令将会停止的地方。
181181

182-
现在再看一眼上图,理解一下发生的事情:它依然会撤销一上次 `提交`,但还会 _取消暂存_ 所有的东西。
182+
现在再看一眼上图,理解一下发生的事情:它依然会撤销上一次 `提交`,但还会 _取消暂存_ 所有的东西。
183183
于是,我们回滚到了所有 `git add` 和 `git commit` 的命令执行之前。
184184

185185
===== 第 3 步:更新工作目录(--hard)

0 commit comments

Comments
 (0)