28

I have a GitHub repository and use another project as a submodule. This submodule is also in .gitmodules, the code below:

[submodule "inc/tha"]
    path = inc/tha
    url = git://github.com/zamoose/themehookalliance.git

See also in view on GitHub.

submodule in repo

How is it possible to download my GitHub repository, including the submodule files?

1 Answer 1

15

This (include the submodule with a GitHub zip or tarball download: the Nodeload service) isn't currently supported, as mentioned in this thread.

This script revision would make the zip itself from a GitHub repo, including submodules, through multiple calls to https://nodeload.github.com/user/repo/zipball/branch.

Sign up to request clarification or add additional context in comments.

Thanks for the answer; pity, that github has no solution.
@bueltge true, but at least the sublime_package_control project offers you a way to get everything for a given repo.
Yes, I have read them, but is pythen and is not my current language, maybe later and current only on the wishlist.
@bueltge I understand, but the idea is there: parsing the .gitmodules file and calling nodeload.github.com/user/repo/zipball/branch for each modules declared there. That could be adapted in any script language.
@Birger It is meant to be run locally, in order to complete the zip of the main repo.

Your Answer

Draft saved
Draft discarded

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.