د اصلي repository بریالی clone سب ماډیول نه ازموي. سب ماډیول بل Git repository دی او بل host یا transport کارولای شي.

اعلان شوي URLونه ولولئ:

git -C project config --file .gitmodules --get-regexp '^submodule\..*\.url$'
git -C project submodule status --recursive

HTTPS parent کې د git@host: سب ماډیول کېدای شي. HTTP proxy د SSH اتصال نه تنظیموي. Relative URL د superproject د مناسب remote له مخې حل کړئ.

د repository ځايي تنظیمات حدود لري

ځايي http.proxy repository configuration د هغه repository دی چې config فایل یې لري. یوازې parent کتل د child ټول اغېزمن تنظیمات نه ښيي.

د recursive update لپاره Git command-line config همدې call ته ورکړئ:

git -C project -c http.proxy=http://203.0.113.10:8080 \
  submodule update --init --recursive

مثالي endpoint بدل کړئ. HTTP proxy list د اجازه شوو HTTPS سب ماډیولونو لپاره پتې ورکوي، خو SSH URL نه HTTPS کوي.

کله چې ثبت شوی URL بدل شي

اوسنی declaration له local value سره پرتله کړئ. sync ثبت شوي URLونه نوي کوي؛ دا پخپله network proxy نه ده.

په nested failure کې path او remote ثبت کړئ. Transport او repository خطاګانې جلا وساتئ، که څه هم پایله ‘submodule update failed’ وي.

The final diagnosis should identify the route and configuration that were actually inspected.

اړوندې مقالې