xxxxxxxxxx
# If you cloned without submodules, run this to update all submodules
git submodule update --init
xxxxxxxxxx
# This will clone a repo with all submodules included
git clone --recurse-submodules
xxxxxxxxxx
git clone git://github.com/foo/bar.git
cd bar
git submodule update --init --recursive
xxxxxxxxxx
git clone --recurse-submodules -j8 git://github.com/foo/bar.git
cd bar