2020-07-23 13:34:38 +05:30
|
|
|
# dvc fetch
|
|
|
|
|
|
|
|
> Download DVC tracked files and directories from a remote repository.
|
|
|
|
> More information: <https://dvc.org/doc/command-reference/fetch>.
|
|
|
|
|
|
|
|
- Fetch the latest changes from the default remote upstream repository (if set):
|
|
|
|
|
|
|
|
`dvc fetch`
|
|
|
|
|
|
|
|
- Fetch changes from a specific remote upstream repository:
|
|
|
|
|
2025-04-25 14:45:48 +03:00
|
|
|
`dvc fetch {{[-r|--remote]}} {{remote_name}}`
|
2020-07-23 13:34:38 +05:30
|
|
|
|
|
|
|
- Fetch the latest changes for a specific target/s:
|
|
|
|
|
|
|
|
`dvc fetch {{target/s}}`
|
|
|
|
|
|
|
|
- Fetch changes for all branch and tags:
|
|
|
|
|
2025-04-25 14:45:48 +03:00
|
|
|
`dvc fetch {{[-a|--all-branches]}} {{[-T|--all-tags]}}`
|
2020-07-23 13:34:38 +05:30
|
|
|
|
|
|
|
- Fetch changes for all commits:
|
|
|
|
|
2025-04-25 14:45:48 +03:00
|
|
|
`dvc fetch {{[-A|--all-commits]}}`
|