Skip to content

Commit 7dd7a4b

Browse files
ousugonetworm
authored andcommittedApr 10, 2020
change two words
1 parent 009bd96 commit 7dd7a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎book/07-git-tools/sections/rewriting-history.asc

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,10 @@ edit 310154e updated README formatting and added blame
275275
pick a5f4a0d added cat-file
276276
----
277277

278-
然后,当脚本将你进入到命令行时,重置那个提交,拿到被重置的修改,从中创建几次提交。
278+
然后,当脚本带你进入到命令行时,重置那个提交,拿到被重置的修改,从中创建几次提交。
279279
当保存并退出编辑器时,Git 带你到列表中第一个提交的父提交,应用第一个提交(`f7f3f6d`),
280280
应用第二个提交(`310154e`),然后让你进入命令行。
281-
那里,可以通过 `git reset HEAD^` 做一次针对那个提交的混合重置,实际上将会撤消那次提交并将修改的文件未暂存
281+
那里,可以通过 `git reset HEAD^` 做一次针对那个提交的混合重置,实际上将会撤消那次提交并将修改的文件取消暂存
282282
现在可以暂存并提交文件直到有几个提交,然后当完成时运行 `git rebase --continue`:
283283

284284
[source,console]

0 commit comments

Comments
 (0)
Please sign in to comment.