Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.13 KB

如何快速更新harmony.md

File metadata and controls

23 lines (15 loc) · 1.13 KB

1.更新前准备:

用此方式更新harmony库一定要先安装git工具,请先下载安装相应的git工具。 https://git-scm.com/downloads

2.更新所有原来就有的仓库


1.将批处理文件“git_update_all_repos.bat”放在HarmonyFramework的根目录。
2.双击批处理文件,运行。

image


批处理文件(git_update_all_repos.bat)链接:
https://github.com/yuchengstudio/Harmony/blob/master/reference/git_update_all_repos.7z

3.更新指定仓库


1.打开批处理文件“git_update_specific_repos.bat”, 如下图所示,将“set repo_list=bsp core csp”中的bsp, core, csp, 修改成你需要的库,比如我想update “usb”的库,只要改成“set repo_list=usb”就好了。
2.双击批处理文件,运行。 image


批处理文件(git_update_specific_repos.bat)链接:
https://github.com/yuchengstudio/Harmony/blob/master/reference/git_update_specific_repos.7z