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