degit icon indicating copy to clipboard operation
degit copied to clipboard

Feature Request: Add `--recursive` option to support downloading submodules

Open Dmaziyo opened this issue 1 year ago • 6 comments

The project I pulled is a monorepo, but the subdirectory projects cannot be cloned down.

Dmaziyo avatar Jan 23 '25 02:01 Dmaziyo

try https://github.com/nrjdalal/gitpick to clone subdirectories, and let me know if it fits the bill

nrjdalal avatar Feb 13 '25 10:02 nrjdalal

try https://github.com/nrjdalal/gitpick to clone subdirectories, and let me know if it fits the bill

here is a scenario where i wanna use --recursive option,clone projects like this qwc2-demo-app which contains subdirectories such as qwc2 . it seems that gitpick doesn't support this functionality. i hope it work like the command git clone --recursive https://github.com/qgis/qwc2-demo-app

Dmaziyo avatar Feb 13 '25 10:02 Dmaziyo

ohh I am using git directly in gitpick, you can add an option to do that easily

nrjdalal avatar Feb 13 '25 10:02 nrjdalal

ohh I am using git directly in gitpick, you can add an option to do that easily

Image Can you show me an example of how to use it? i failed it to use recursive in gitpick

Dmaziyo avatar Feb 14 '25 00:02 Dmaziyo

ohh I am using git directly in gitpick, you can add an option to do that easily

Image Can you show me an example of how to use it? i failed it to use recursive in gitpick

as in dig a little into the code, I code it fairly simple and extensible, rest I will see it in freetime

nrjdalal avatar Feb 14 '25 01:02 nrjdalal

I also need --recursive as well. Any updates ?

SerJaimeLannister avatar Feb 20 '25 10:02 SerJaimeLannister

added try npx gitpick@canary --recursive and I will add it in next latest version, gitpick

  • do let me asap guys, need to launch next latest soon 🔥

nrjdalal avatar Mar 31 '25 00:03 nrjdalal

can @Dmaziyo @SerJaimeLannister confirm, else I will undo the change

nrjdalal avatar Apr 01 '25 18:04 nrjdalal

can @Dmaziyo @SerJaimeLannister confirm, else I will undo the change

yeah, it works

Dmaziyo avatar Apr 02 '25 01:04 Dmaziyo

pushed to latest

just npx gitpick or npx gitpick@latest

use flag -r as shortform for recursive

nrjdalal avatar Apr 02 '25 05:04 nrjdalal