Cloning a Project With Submodules

Learn to clone a project with submodules with the help of a “recursive” flag.

We'll cover the following

Submodules have a special status within Git repositories. Since they are both included within a repository and at the same time reference as a remote repository, a simple clone will not check out the included submodule. Let’s show that:

1	cd ../..
2	git clone bob_repo bob_repo_cloned
3	cd bob_repo_cloned
4	ls -1
5	cd alicelib
6	ls
7	cd ..

Get hands-on with 1200+ tech skills courses.