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

feat(git-clone): add ability to recurse submodules #167

Open
phorcys420 opened this issue Feb 18, 2024 · 1 comment
Open

feat(git-clone): add ability to recurse submodules #167

phorcys420 opened this issue Feb 18, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@phorcys420
Copy link
Member

I'm currently writing a Coder template for a project that needs submodules to be cloned.

With the git CLI you'd use git clone --recurse-submodules but there's no such option with the current module.
I think a recurse_submodule = true variable would be adequate.

If I get the time, I will submit a PR :-)

@michaelbrewer
Copy link
Contributor

Probably also good to expose --jobs=<n> flag to speed up cloning submodules.

@phorcys420 phorcys420 self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants