Cloning a Project With Submodules
Understand how to clone Git repositories that include submodules by using standard cloning commands and git submodule commands. Learn how to initialize, update, and manage submodules manually or via the --recursive cloning option. This lesson helps you handle complex project setups involving nested repositories.
We'll cover the following...
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 ...