4 ms·
You can't (since commits are snapshots of the repo root). You can have this approximation however: git clone --filter=blob:none --sparse https://github.com
by nolist_policy 2y ago
You can't (since commits are snapshots of the repo root). You can have this approximation however:
git clone --filter=blob:none --sparse https://github.com/neovim/neovim
cd neovim
git sparse-checkout add scripts
Unfortunately, GitHub does not support --filter=sparse:oid=master:scripts, so blobs will be fetched on demand as you use the repo.