How to `git clone` including submodules?

With version 1.7.1 of Git and later, you can use:

git clone --recursive git://github.com/foo/bar.git
cd bar

For already cloned repositories, just use:

cd clonde-repository
git submodule update --init --recursive
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *