my-git

Partial Clone

English 中文

Partial clone is used to reduce the number of Git objects downloaded during a clone.

In large repositories, history and object volumes can be massive. Partial clone allows Git to fetch essential metadata first, and download objects like blobs on demand.

Examples

git clone --filter=blob:none <url>

Common meanings:

Specific support depends on the Git version and remote service capabilities.

Suitable Scenarios

Considerations

git clone --filter=blob:none --sparse <url>
cd repo
git sparse-checkout set services/order

Further Reading