Fetch only what you need
Clone the history now. Fetch each file when Git needs it.
Clone in seconds, load files on demand
demo main · commits and trees
src/retry.tsloadeddocs/limits.mdon first readassets/demo.mp4on first read
How it works
- Lazy by default
yoneda clonebrings commits and trees right away; each file’s contents arrive the first time Git needs them. - Sparse when you want less
--sparse <dir,...>checks out only those directories, andyoneda sparse --addwidens it later. - Everything when you want it
--fullfetches every object up front, as doesgit clone -c yoneda.lazy=false. - Stock Git works tooA plain
git clonegets partial (--filter=blob:none) and shallow (--depth) clones over protocol v2.