загружать все подмодусы
git submodule update --init --recursive
konard
git submodule update --init --recursive
# When cloning repo ...
git clone --recurse-submodules -j8 https://git.example.com/repo.git
# ... or for existing already cloned repo
git submodule update --init --recursive
# This will clone a repo with all submodules included
git clone --recurse-submodules
git submodule update --init --recursive
git clone --recurse-submodules
git submodule sync: Updates the description of submodules cached by git in .git/modules
git submodule update --init --recursive --remote for Updates the working copy
[submodule "api"]
path = api
url = https://github.com/<another_repo>/api.git
branch = main