I found out that to load submodules with the main repository we can use the option --recursivewhen cloning the main repository.
I did the same git clone --recursive git@github.com:passion/academy.git
I found that it creates an empty submodule directory, but does not load its code.
Do I need to do extra things, for example git submodule update --init --recursive? If so, what is the use of the flag --recursivewhen cloning the main repository?
source
share