Synopsis
Description
Thedvc status command shows the status of your DVC-tracked files and pipeline stages. It helps you understand:
- Which tracked files have been modified in your workspace
- Which pipeline stages need to be reproduced
- Differences between local cache and remote storage (with
--cloudoption) - What data needs to be pushed or pulled
- Local mode (default): Shows which files/stages have changed in your workspace
- Cloud mode (
--cloud): Compares your local cache with remote storage
Think of
dvc status as similar to git status - it shows what has changed without making any modifications.Options
Limit command scope to specific tracked files/directories,
.dvc files, or stage names.Suppresses all output. Exit with 0 if pipelines are up to date, otherwise 1. Useful for scripts and CI/CD.
Show status of local cache compared to remote repository. Shows what needs to be pushed or pulled.
Remote storage to compare local cache to. Used with
--cloud.Number of jobs to run simultaneously when checking status.
Show status for all Git branches. Used with
--cloud.Show status for all Git tags. Used with
--cloud.Show status for all Git commits. Used with
--cloud.Show status for all dependencies of the specified target.
Show status of all stages in the specified directory.
Show status in JSON format. Useful for parsing in scripts.
Ignore updates to imported data.
Examples
Basic status check
Check the status of all tracked data:Check specific files
Check status of specific targets:Cloud status
Compare local cache with remote storage:Compare with specific remote
Check pipeline dependencies
Check a stage and all its dependencies:JSON output
Get status in JSON format for programmatic use:Quiet mode for scripting
Use in CI/CD or scripts:Check all branches
See what needs to be synced across all branches:Understanding status output
Local mode status states
| State | Meaning |
|---|---|
modified | File content has changed |
not in cache | File is tracked but not in cache (needs dvc commit) |
deleted | File has been deleted from workspace |
changed deps | Dependencies of a stage have changed |
changed outs | Outputs of a stage have changed |
Cloud mode status states
| State | Meaning |
|---|---|
new | File is in local cache but not in remote (need to dvc push) |
deleted | File is in remote but not in local cache (need to dvc pull) |
Example workflows
Workflow 1: Before committing
Workflow 2: Syncing with remote
Workflow 3: Pipeline development
When nothing changes
If everything is up to date, you’ll see:Performance tips
Related commands
dvc diff- Show detailed differences between commitsdvc commit- Record changes to tracked filesdvc push- Upload data to remote storagedvc pull- Download data from remote storagedvc checkout- Update workspace from cache