Using submodules with GitHub Pages

You can use submodules with Páginas de GitHub to include other projects in your site's code.

Páginas de GitHub se encuentra disponible en repositorios públicos con GitHub Free y GitHub Free para organizaciones, y en repositorios privados y públicos con GitHub Pro, GitHub Team, GitHub Enterprise Cloud, y Servidor de GitHub Enterprise. Para obtener más información, consulta la sección "Productos de GitHub".

If the repository for your Páginas de GitHub 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 Páginas de GitHub 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.

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.