Skip to content
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

How to clone submodules in a repository? #183

Closed
ghost opened this issue Jun 5, 2019 · 2 comments
Closed

How to clone submodules in a repository? #183

ghost opened this issue Jun 5, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 5, 2019

Hi,
I'd like to clone some repository containing submodules.
With git, submodules can be cloned by git clone --recursive.
But ghq get does not look to have --recursive option.
How to clone submodules in a repository?

@Songmu
Copy link
Member

Songmu commented Jun 6, 2019

We can do "submodule update --init --recursive" in each repository for now.

Certainly, since there is a "--shallow" option in ghq, it should be useful also to support "--recursive" option as well.

I may implement when I have time, and your patches are also welcome.

@ghost
Copy link
Author

ghost commented Jun 6, 2019

Thank you for the reply. I'm looking forward to the update.

@ghost ghost closed this as completed Jun 6, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant