modules icon indicating copy to clipboard operation
modules copied to clipboard

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

Open phorcys420 opened this issue 1 year ago • 1 comments
trafficstars

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 :-)

phorcys420 avatar Feb 18 '24 16:02 phorcys420

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

michaelbrewer avatar Apr 20 '24 02:04 michaelbrewer