gabrie30 / ghorg

Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more 🐇🥚
Apache License 2.0
1.58k stars 167 forks source link

Support GHORG_PRESERVE_DIRECTORY_STRUCTURE (--preserve-dir) in combination with GHORG_PRUNE (--prune) #445

Open Fraguinha opened 2 months ago

Fraguinha commented 2 months ago

Is your feature request related to a problem? Please describe. I have been using ghorg with --preserve-dir and would like for it to be compatible with --prune as well

Describe the solution you'd like ghorg with both --preserve-dir and --prune working together

Describe alternatives you've considered Currently I work around this by periodically cloning everything again to a different directory and replacing the old one

Additional context Follow up to https://github.com/gabrie30/ghorg/issues/210

gabrie30 commented 2 months ago

Thanks for writing this up