diff --git a/sources/重写项目历史.md b/sources/重写项目历史.md index c2f1910..71ec41b 100644 --- a/sources/重写项目历史.md +++ b/sources/重写项目历史.md @@ -124,7 +124,7 @@ git merge new-feature ## git rebase -i -用 `-i` 标记运行 `git rebase` 开始交互式 rebase。交互式 rebase 给你在过程中修改单个提交的机会,而不是盲目地将所有提交都移到新的基上。你可以移除、分割提交,更改提交的顺序。它就像是打了鸡血的 `git commit --amendy` 一样。 +用 `-i` 标记运行 `git rebase` 开始交互式 rebase。交互式 rebase 给你在过程中修改单个提交的机会,而不是盲目地将所有提交都移到新的基上。你可以移除、分割提交,更改提交的顺序。它就像是打了鸡血的 `git commit --amend` 一样。 ### 用法