" /> Comment "git clone" y compris les sous-modules | 2022 codeprofesseur

Comment "git clone" y compris les sous-modules

Mots clés : gitgit-submodulesgit

meilleur 5 Réponses Comment "git clone" y compris les sous-modules

vote vote

91

git clone --recurse-submodules -j8 git://github.com/foo/bar.git cd bar 
git clone --recursive -j8 git://github.com/foo/bar.git cd bar 
git clone --recursive git://github.com/foo/bar.git cd bar 
git clone git://github.com/foo/bar.git cd bar git submodule update --init --recursive 
vote vote

87

git submodule init  git submodule update 
vote vote

71

git clone --recurse-submodules --remote-submodules 
git clone --recurse-submodules 
git clone --recursive git://github.com/mysociety/whatdotheyknow.git 
git fetch --recurse-submodules -j2 
--[no-]remote-submodules: 
vote vote

66

git clone --recursive YOUR-GIT-REPO-URL 
git submodule init git submodule update 
vote vote

58

git submodule update --init --recursive 

Questions similaires