commands.sh

dvc fetch

all

Download DVC tracked files and directories from a remote repository.

More info →

Options (4)

-r, --remoteboolean

Fetch changes from a specific remote upstream repository

Example: dvc fetch {{[-r|--remote]}} {{remote_name}}
-a, --all-branchesboolean

Fetch changes for all branch and tags

Example: dvc fetch {{[-a|--all-branches]}} {{[-T|--all-tags]}}
-T, --all-tagsboolean

Fetch changes for all branch and tags

Example: dvc fetch {{[-a|--all-branches]}} {{[-T|--all-tags]}}
-A, --all-commitsboolean

Fetch changes for all commits

Example: dvc fetch {{[-A|--all-commits]}}

Examples (5)

Fetch the latest changes from the default remote upstream repository (if set)

Fetch changes from a specific remote upstream repository

dvc fetch [-r|--remote] remote_name

Fetch the latest changes for a specific target/s

dvc fetch target/s

Fetch changes for all branch and tags

dvc fetch [-a|--all-branches] [-T|--all-tags]

Fetch changes for all commits

dvc fetch [-A|--all-commits]
made by @shridhargupta | data from tldr-pages