Shallow & partial clones
Në shqip: Klonimi i cekët dhe i pjesshëm
ShpjegimiSQ
Për repo gjigante, git clone --depth 1 merr vetëm commit-in e fundit (shumë më shpejt); --filter=blob:none shkarkon skedarët vetëm kur të duhen; sparse-checkout nxjerr vetëm disa dosje. Shumë të përdorura në CI.
EnglishEN
For huge repos, git clone --depth 1 fetches only the latest commit (much faster); --filter=blob:none downloads files only when needed; sparse-checkout checks out just some folders. Widely used in CI.
Si ta mendosh
Si të marrësh vetëm kapitullin e fundit të një enciklopedie.
Lexoje në anglisht
Like borrowing only the latest volume of an encyclopedia.
Shembull kodibash
git clone --depth 1 https://github.com/x/projekti.git
git sparse-checkout set docs