Skip to main content
Fetch downloads selected objects into the without changing working files. Without history flags it reads the current lock; explicit history selectors use selected committed snapshots instead. Fetch includes selected mount-owned paths. See fetch, sync, and pull to choose an operation, or history selection to prefetch older versions. Without path flags, use the default named selection, or all paths if none is set. Explicit filters replace that selection; --path . selects the whole repository.
Named and inline selectors cannot be combined. Paths are relative to the repository root; patterns are relative to the selected path. See Path selection and gat selection.

Usage

Examples

Download objects required by the current desired state.