I learned that to download submodules with main repository we can use --recursive
option when cloning main repository.
I did the same git clone --recursive git@github.com:passion/academy.git
I found that it only create a empty directory of submodule but not downloaded its code.
Do we need to do extra stuff like git submodule update --init --recursive
? If yes then what is the use of --recursive
flag when cloning main repository ?