diff --git a/zh-cn/release-notes/OpenHarmony-2-0-Canary.md b/zh-cn/release-notes/OpenHarmony-2-0-Canary.md index 8891673dcb81b0f55a528adbd9d30417e632abfe..7d7540ba8c9eb7783ef35f6cfe547779e6791750 100644 --- a/zh-cn/release-notes/OpenHarmony-2-0-Canary.md +++ b/zh-cn/release-notes/OpenHarmony-2-0-Canary.md @@ -2,6 +2,7 @@ - [版本概述](#section1677664815431) - [配套关系](#section13201781528) +- [源码获取](#源码获取) - [更新说明](#section11256141314463) ## 版本概述 @@ -52,6 +53,28 @@ +## 源码获取 + +### 方式一(推荐) + +通过repo + ssh 下载(需注册公钥,请参考[码云帮助中心](https://gitee.com/help/articles/4191))。 + + ```sh +repo init -u git@gitee.com:openharmony/manifest.git -b -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify +repo sync -c +repo forall -c 'git lfs pull' + ``` + +### 方式二 + +通过repo + https 下载。 + +```sh +repo init -u https://gitee.com/openharmony/manifest.git -b -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify +repo sync -c +repo forall -c 'git lfs pull' +``` + ## 更新说明 本版本完全继承了OpenHarmony 1.1.0的所有特性,并在OpenHarmony 1.1.0版本的基础上,新增标准系统版本形态,详情请参考下表 。