剥离子怎么使用解决git --recursive克隆失败:分步克隆与镜像源优化策略

新闻资讯2026-04-21 02:42:23

[user@localhost fep_switch]$ GIT_TRACE=1 GIT_CURL_VERBOSE=1 git submodule update --init --recursive
10:58:46.520579 git.c:725 trace: exec: git-submodule update --init --recursive
10:58:46.520616 run-command.c:655 trace: run_command: git-submodule update --init --recursive
10:58:46.531510 git.c:439 trace: built-in: git rev-parse --git-dir
10:58:46.533318 git.c:439 trace: built-in: git rev-parse --git-path objects
10:58:46.536000 git.c:439 trace: built-in: git rev-parse --show-prefix
10:58:46.537084 git.c:439 trace: built-in: git rev-parse --show-toplevel
10:58:46.540258 git.c:439 trace: built-in: git submodule--helper update --recursive --init --
10:58:46.542987 run-command.c:1524 run_processes_parallel: preparing to run up to 1 tasks
10:58:46.543012 run-command.c:655 trace: run_command: git submodule--helper clone --path ldk_marvell/cpss_work_4.3.10 --name ldk_marvell/cpss_work_4.3.10 --url ssh://shengmingde@gerrit.ep.tp-link.com:29418/SMB/SWITCH/SDK/cpss_work_4.3.10
10:58:46.544305 git.c:439 trace: built-in: git submodule--helper clone --path ldk_marvell/cpss_work_4.3.10 --name ldk_marvell/cpss_work_4.3.10 --url ssh://shengmingde@gerrit.ep.tp-link.com:29418/SMB/SWITCH/SDK/cpss_work_4.3.10
10:58:46.544425 run-command.c:655 trace: run_command: unset GIT_PREFIX; GIT_DIR=.git git clone --no-checkout --separate-git-dir /project/fep_switch/.git/modules/ldk_marvell/cpss_work_4.3.10 -- ssh://shengmingde@gerrit.ep.tp-link.com:29418/SMB/SWITCH/SDK/cpss_work_4.3.10 /project/fep_switch/ldk_marvell/cpss_work_4.3.10
10:58:46.545324 git.c:439 trace: built-in: git clone --no-checkout --separate-git-dir /project/fep_switch/.git/modules/ldk_marvell/cpss_work_4.3.10 -- ssh://shengmingde@gerrit.ep.tp-link.com:29418/SMB/SWITCH/SDK/cpss_work_4.3.10 /project/fep_switch/ldk_marvell/cpss_work_4.3.10
Cloning into '/project/fep_switch/ldk_marvell/cpss_work_4.3.10'...
10:58:46.546841 run-command.c:655 trace: run_command: unset GIT_DIR; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL -p 29418 shengmingde@gerrit.ep.tp-link.com 'git-upload-pack '''/SMB/SWITCH/SDK/cpss_work_4.3.10''''
10:58:50.629573 run-command.c:655 trace: run_command: git index-pack --stdin --fix-thin '--keep=fetch-pack 48930 on localhost.localdomain' --check-self-contained-and-connected
10:58:50.630737 git.c:439 trace: built-in: git index-pack --stdin --fix-thin '--keep=fetch-pack 48930 on localhost.localdomain' --check-self-contained-and-connected 请分析问题