common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
964 stars 91 forks source link

Feature request: Shallow and sparse clones of registry #533

Open nocnokneo opened 8 months ago

nocnokneo commented 8 months ago

To support monorepos where the granted registry can be just one part of a huge repo.

git clone --depth ...

https://www.git-scm.com/docs/git-sparse-checkout

nocnokneo commented 7 months ago

Maybe a separate request, but also cloning/pulling with GIT_LFS_SKIP_SMUDGE=1 to avoid long delays when big LFS files get added to a monorepo would be nice (when LFS filters have been installed globally). Could be an optional feature, ideally on by default.