Skip to content

(Have the ability to) Ignore 'shared repositories' if cloning recursively

Problem to solve

When running glab repo clone -g group/subgroup -a=false -p --paginate all repositories in 'Shared Projects' are also pulled and cloned. I'm not sure if this is the expected default, but it would be good to have the ability to exclude those (as they are often linked elsewhere).

Screenshot_2025-01-23_at_17.17.11

Proposal

Introduce an additional flag to include/exclude (depending on the default) any Shared Projects linked to a particular (sub)group.

Further details

I appreciate Shared Projects might not be as common.

Links / references

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information