From 0f1c5ebf9c5b7c5755269a7b5a766ca1b643529c Mon Sep 17 00:00:00 2001 From: mengshukeji Date: Wed, 18 Nov 2020 15:00:26 +0800 Subject: [PATCH] Update contribute.md npm run commit --- docs/zh/guide/contribute.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/zh/guide/contribute.md b/docs/zh/guide/contribute.md index 09aa759..7bf7071 100644 --- a/docs/zh/guide/contribute.md +++ b/docs/zh/guide/contribute.md @@ -94,9 +94,12 @@ git checkout -b Luckysheet-123 7. 提交代码到远程分支 +我们使用Angular规范来提交commit信息。 +> 参考阅读[Git commit message 规范](https://juejin.im/post/6844903871832145927) + commit 信息的格式必须与Issue标题保持一致且以[issue id]开头,即:[Luckysheet-123] xxx ```shell -git commit -a -m "[Luckysheet-123] xxx" +npm run commit git push origin Luckysheet-123 ``` 8. 提交PR