Skip to content

Commit b91c3ea

Browse files
fanofxiaofengnetworm
authored andcommitted
add space to help the markdown file parser
1 parent 8e8da57 commit b91c3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Git 没有一个改变历史工具,但是可以使用变基工具来变基一
3939
可以通过给 `git rebase` 增加 `-i` 选项来交互式地运行变基。
4040
必须指定想要重写多久远的历史,这可以通过告诉命令将要变基到的提交来做到。
4141

42-
例如,如果想要修改最近三次提交信息,或者那组提交中的任意一个提交信息,将想要修改的最近一次提交的父提交作为参数传递给 `git rebase -i`命令,即 `HEAD~2^` 或 `HEAD~3`。
42+
例如,如果想要修改最近三次提交信息,或者那组提交中的任意一个提交信息,将想要修改的最近一次提交的父提交作为参数传递给 `git rebase -i` 命令,即 `HEAD~2^` 或 `HEAD~3`。
4343
记住 `~3` 可能比较容易,因为你正尝试修改最后三次提交;但是注意实际上指定了以前的四次提交,即想要修改提交的父提交:
4444

4545
[source,console]

0 commit comments

Comments
 (0)