From 8711dbad5a041c020a3aff241459cc9f62485279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=AF=E7=94=B2=E7=83=B7?= Date: Fri, 11 Sep 2020 12:31:39 +0800 Subject: [PATCH] Update repo sync section to illlustrate usage of repo sync -jthreadnumber to speed up sync process. --- .../\346\272\220\347\240\201\350\216\267\345\217\226.md" | 6 ++++++ 1 file changed, 6 insertions(+) diff --git "a/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" "b/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" index 4a9dbd455c5..704c96e2753 100755 --- "a/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" +++ "b/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" @@ -238,6 +238,12 @@ repo init -u https://gitee.com/openharmony/manifest.git -b master repo sync -c ``` +多核工作站可以使用 `-jthreadcount`利用多线程加速同步. 详见[Repo参考文档](https://source.android.com/setup/develop/repo#sync). + +``` +repo sync -c -j56 +``` + 方式二:通过git clone单个代码仓库 进入代码仓库主页:[https://gitee.com/openharmony](https://gitee.com/openharmony),选择需要克隆的代码仓库,执行命令,如: -- Gitee