From f8bc40c9eab2716c288c35911cca2c27ce98d8df Mon Sep 17 00:00:00 2001
From: duangavin123 <542985702@qq.com>
Date: Tue, 16 Mar 2021 19:41:55 +0800
Subject: [PATCH] =?UTF-8?q?update=20zh-cn/device-dev/get-code/=E6=BA=90?=
=?UTF-8?q?=E7=A0=81=E8=8E=B7=E5=8F=96.md.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...272\220\347\240\201\350\216\267\345\217\226.md" | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git "a/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" "b/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md"
index 4be333bd465..207165b96a9 100644
--- "a/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md"
+++ "b/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md"
@@ -217,6 +217,11 @@ OpenHarmony是HarmonyOS的开源版,由华为捐赠给开放原子开源基金
## 操作
+> **说明:**
+>主干代码为码云的开发分支,开发者可通过主干代码获取最新特性。分支代码相对比较稳定,开发者可基于分支代码进行商用功能开发。
+
+- **OpenHarmony主干代码获取**
+
方式一(推荐):通过repo下载
```
@@ -232,6 +237,15 @@ repo sync -c
git clone https://gitee.com/openharmony/manifest.git -b master
```
+- **OpenHarmony_1.0.1_release 分支代码获取**
+
+通过repo下载
+
+```
+repo init -u https://gitee.com/openharmony/manifest.git -b OpenHarmony_1.0.1_release --no-repo-verify
+repo sync -c
+```
+
## 源码目录简介
下表是OpenHarmony源码的目录及简单说明:
--
Gitee