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
path
Limit command scope to specific tracked files/directories,
.dvc files, or stage names.boolean
default:"false"
Suppresses all output. Exit with 0 if pipelines are up to date, otherwise 1. Useful for scripts and CI/CD.
boolean
default:"false"
Show status of local cache compared to remote repository. Shows what needs to be pushed or pulled.
string
Remote storage to compare local cache to. Used with
--cloud.integer
default:"4 * cpu_count()"
Number of jobs to run simultaneously when checking status.
boolean
default:"false"
Show status for all Git branches. Used with
--cloud.boolean
default:"false"
Show status for all Git tags. Used with
--cloud.boolean
default:"false"
Show status for all Git commits. Used with
--cloud.boolean
default:"false"
Show status for all dependencies of the specified target.
boolean
default:"false"
Show status of all stages in the specified directory.
boolean
default:"false"
Show status in JSON format. Useful for parsing in scripts.
boolean
default:"false"
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
Cloud mode status states
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