Checkout a git repo including git submodules

If you need to check out projects that contain git submodules a simple git clone will only check out the code in the current repository but not the included submodules! To perform a clean checkout including all Submodules you need to add the --recurse-submodules parameter to the checkout command so you will end up with the line

git chekout --recurse-submodules https://github.com/chromium/chromium.git

Leave a Comment

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