title | intro | redirect_from | product | versions | topics | shortTitle | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Using submodules with GitHub Pages |
You can use submodules with {% data variables.product.prodname_pages %} to include other projects in your site's code. |
|
{% data reusables.gated-features.pages %} |
|
|
Use submodules with Pages |
If the repository for your {% data variables.product.prodname_pages %} site contains submodules, their contents will automatically be pulled in when your site is built.
You can only use submodules that point to public repositories, because the {% data variables.product.prodname_pages %} server cannot access private repositories.
Use the https://
read-only URL for your submodules, including nested submodules. You can make this change in your .gitmodules
file.
- Git Tools - Submodules from the Pro Git book
- AUTOTITLE