HarmonyOS鸿蒙Next中获取OpenHarmony 3.2 Release源码
HarmonyOS鸿蒙Next中获取OpenHarmony 3.2 Release源码
获取OpenHarmony 3.2 Release源码
作者:坚果
团队:坚果派
公众号:“大前端之旅”
润开鸿
技术专家,华为HDE,InfoQ签约作者,OpenHarmony布道师,擅长HarmonyOS应用开发、熟悉服务卡片开发,在“战码先锋”活动中作为大队长,累计培养三个小队长,带领100+队员完成Pr的提交合入。
欢迎通过主页或者私信联系我,加入坚果派,一起学习鸿蒙应用开发。
通过repo获取
方式一(推荐)
通过repo + ssh 下载
-
从版本分支获取源码。可获取该版本分支的最新源码,包括版本发布后在该分支的合入。
repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-3.2-Release --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
-
从版本发布Tag节点获取源码。可获取与版本发布时完全一致的源码。
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.2-Release --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
方式二
通过repo + https 下载。
-
从版本分支获取源码。可获取该版本分支的最新源码,包括版本发布后在该分支的合入。
repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-3.2-Release --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
-
从版本发布Tag节点获取源码。可获取与版本发布时完全一致的源码。
repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v3.2-Release --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
更多关于HarmonyOS鸿蒙Next中获取OpenHarmony 3.2 Release源码的实战教程也可以访问 https://www.itying.com/category-93-b0.html
更多关于HarmonyOS鸿蒙Next中获取OpenHarmony 3.2 Release源码的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
在HarmonyOS鸿蒙Next中获取OpenHarmony 3.2 Release源码,首先访问OpenHarmony的官方Gitee仓库。使用Git工具克隆仓库,选择3.2 Release分支。确保系统环境配置正确,包括Git和Python。克隆命令为:
git clone -b OpenHarmony-3.2-Release https://gitee.com/openharmony/manifest.git
克隆完成后,使用repo工具同步代码:
repo sync -c
这将下载完整的OpenHarmony 3.2 Release源码到本地。