diff --git a/zh-cn/device-dev/get-code/sourcecode-acquire.md b/zh-cn/device-dev/get-code/sourcecode-acquire.md index c953882f8b3759e5d26b268238af344a4c3c4aef..e33b874845cf01124b8d958da1fe4ef4a9bcee62 100644 --- a/zh-cn/device-dev/get-code/sourcecode-acquire.md +++ b/zh-cn/device-dev/get-code/sourcecode-acquire.md @@ -412,4 +412,183 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及 +## 获取方式4:从github镜像仓库获取(每天UTC时间23点同步) + +方式一(推荐):通过repo + ssh 下载(需注册公钥,请参考GitHub帮助中心)。 + + repo init -u git@github.com:openharmony/manifest.git -b master --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + +方式二:通过repo + https 下载。 + + repo init -u [https://github.com/openharmony/manifest.git](https://github.com/openharmony/manifest.git) -b master --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + +## 源码目录简介 + +下表是OpenHarmony源码的目录及简单说明: + +**表 2** 源码目录 + + + +
| + + | + ++ + | + +
|---|---|
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +
| + + | + ++ + | + +