Skip to content

Glossary: Git Beyond the Basics

shallow clone and partial clone

Also written: shallow clone, partial clone, --depth, --filter=blob:none

A shallow clone (`--depth 1`) fetches only the newest commits; a partial clone (`--filter=blob:none`) fetches all commits but gets old file contents only when needed.

Where the book teaches it

Related terms

objectssparse checkout