Skip to content

Commit 867511c

Browse files
committed
fix:pre-commit介绍,使用介绍
1 parent f065402 commit 867511c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/python/libs/pre-commit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ git commit -m "skip checks" --no-verify
109109

110110
## **7. 更新 **`pre-commit`** 钩子**
111111

112-
如果你修改了 `.pre-commit-config.yaml`,需要运行:
112+
将钩子自动更新到最新版本。默认情况下,这会将钩子带到 default 分支上的 latest 标签。需要运行:
113113

114114
```shell
115115
pre-commit autoupdate # 更新到最新的 hooks 版本

0 commit comments

Comments
 (0)