-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert git submodules of the source repository to subrepos #599
Comments
This is a limitation of git subrepo. It was an intentional decision on the part of the designer. submodules were still an experimental item when subrepo was created, and honestly they are still a real pain to work with. Now that submodules are very common I am considering adding a functionality that would bring in the submodules as subrepos. Still a lot of design work to do for this feature and I a lot of work to do before I get it to it, but it is something I would be happy to work out with someone and PRs are always welcome. |
Thanks @admorgan for your reply. Do you know of any workarounds that involve using 'git subrepo' to clone the repository and also ensure that the submodules from the source repository are included? |
If you are only consuming the repos (you will never |
I want to clone a Git repository that contains a git submodule. However, when using 'git subrepo clone' to pull in the source repository, the submodule directory remains empty. It appears that 'git subrepo clone' cannot fetch the submodule.
Is this a limitation of 'git subrepo clone'? How can I address this, given that including submodules is a common practice in repositories?
Is there a way to achieve a similar functionality as 'git clone --recurse-submodules' with 'git subrepo clone'?
The text was updated successfully, but these errors were encountered: