Make Better Things



I like to make better things.

how to git clone with submodules

For git version 1.6.5 or later just use -

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

for already cloned repos or older git version please run -

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

Category: git

Tagged: , ,

Leave a Reply