I'm afraid that the URL of the submodules always just points to the repository - you cannot specify that you only need a subfolder of the repository, just like git does not support "narrow clones" in general.
If you cannot live with the entire repository as a submodule, you can always create a new repository cloned from boto, and then configure the cron job to:
git fetch this repository to a directory- Use
git filter-branch to update the branch where the subdirectory is at the top level. - Add this repository branch as a submodule. However, all this is a bit difficult, and my preference would be to simply have the entire repository as a submodule.
Mark Longair Mar 14 2018-11-11T00: 00Z
source share