E
E
entermix2016-08-12 19:17:40
git
entermix, 2016-08-12 19:17:40

How to autoload submodules in github?

How to make sure that when downloading a repository from github, all its dependencies are downloaded? Those. all submodules?
I added git submodule add ... vendor/example, made a commit, pushed it to github, everything is ok there, but when downloading the folder vendor/exampleis empty, why is that?
PS git clone...+ git submodule update --initis ok too

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2016-08-12
@aol-nnov

git clone --recursive

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question