From 866deea0b79ea25c115ace77edae339bca373ac2 Mon Sep 17 00:00:00 2001 From: Tris Roland Date: Sat, 23 Dec 2017 23:08:25 +0800 Subject: [PATCH] fix typos frok to fork --- sources/Git钩子.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Git钩子.md b/sources/Git钩子.md index d7b1b06..116ffa7 100644 --- a/sources/Git钩子.md +++ b/sources/Git钩子.md @@ -330,7 +330,7 @@ for root, dirs, files in os.walk('.'): `pre-rebase` 钩子在 `git rebase` 发生更改之前运行,确保不会有什么糟糕的事情发生。 -这个钩子有两个参数:frok 之前的上游分支,将要 rebase 的下游分支。如果 rebase 当前分支则第二个参数为空。以非 0 状态退出会放弃这次 rebase。 +这个钩子有两个参数:fork 之前的上游分支,将要 rebase 的下游分支。如果 rebase 当前分支则第二个参数为空。以非 0 状态退出会放弃这次 rebase。 比如说,如果你想彻底禁用 rebase 操作,你可以使用下面的 `pre-rebase` 脚本: