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.ts loaded
  • docs/limits.md on first read
  • assets/demo.mp4 on first read

How it works

  • Lazy by defaultyoneda clone brings 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, and yoneda sparse --add widens it later.
  • Everything when you want it--full fetches every object up front, as does git clone -c yoneda.lazy=false.
  • Stock Git works tooA plain git clone gets partial (--filter=blob:none) and shallow (--depth) clones over protocol v2.