git clone --filter=blob:none https://github.com/expressjs/express.git

Category: Git - Core

git clone --filter=blob:none https://github.com/expressjs/express.git

Clone a repository without file contents

A partial clone, here blobless, fetches commits and trees but defers file versions until you actually need them. Files download on demand when you check out or diff them, making huge repositories clone fast. It is a good fit for monorepos and very large codebases.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.