git clone git@github.com:username/repo.git
cd repo/
git pull --recurse-submodules
git submodule update --init --recursive
Clone a Git repo with all of its submodules

Comments
0
There are currently no comments.
git clone git@github.com:username/repo.git
cd repo/
git pull --recurse-submodules
git submodule update --init --recursive