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.
How is it possible to download my GitHub repository, including the submodule files?
Once you have set up the submodules you can update the repository with fetch/pull like you would normally do. To pull everything including the submodules, use the --recurse-submodules and the --remote parameter in the git pull command .
Starting with Git 1.7. 5 it should update submodules automatically by default like you want it to.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With