From e04efe116f2c87b61b82113d7056f4841047cb0a Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 15 Jun 2026 21:02:32 +0800 Subject: [PATCH] Update CONTRIBUTING --- CONTRIBUTING.md | 8 +++++++- CONTRIBUTING_zh.md | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 61c1d8c6..8f9c4880 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,13 @@ Index: > This project uses `git submodule`. When cloning, please ensure that the submodule is also pulled. > > ```bash -> git clone --recurse-submodules https://github.com/certimate-go/certimate.git +> # Option 1: Direct recursive pull during cloning +> > git clone --recurse-submodules https://github.com/certimate-go/certimate.git +> +> # Option 2: Clone first, then initialize +> git clone https://github.com/certimate-go/certimate.git +> cd certimate +> git submodule update --init --recursive > ``` ### Prerequisites diff --git a/CONTRIBUTING_zh.md b/CONTRIBUTING_zh.md index e333abed..7b91f670 100644 --- a/CONTRIBUTING_zh.md +++ b/CONTRIBUTING_zh.md @@ -29,7 +29,13 @@ > 本项目使用了 `git submodule` 特性,克隆时请务必确保嵌套子模块也被拉取。 > > ```bash +> # 方式一:克隆时直接递归拉取 > git clone --recurse-submodules https://github.com/certimate-go/certimate.git +> +> # 方式二:先克隆,再初始化 +> git clone https://github.com/certimate-go/certimate.git +> cd certimate +> git submodule update --init --recursive > ``` ### 要求