How to See Which DVC-Tracked Files Changed with dvc status
Change a file that DVC tracks, and git status says nothing: Git only sees the small .dvc file, and that hasn't changed. dvc status compares the data itself with the hash in its .dvc file. This guide changes a tracked file, reads what dvc status and dvc data status report, then deletes the file and gets it back with dvc checkout, using DVC 3.67.1.
Syntax
dvc status [<targets>]
| Part | What it means |
|---|---|
dvc status | Compares every DVC-tracked file in the project folder with the hash saved in its .dvc file |
<targets> | Optional: only these files or .dvc files. Without them, DVC checks the whole project |
The dvc status reference says that when nothing changed it prints "Data and pipelines are up to date", and otherwise lists "the changes in dependencies and/or outputs". A file tracked with dvc add is an output of its .dvc file, which is why the report says outs.
The Example
fruit-prices is a Git repository where dvc init has run, and data/prices.csv, a short fruit price list, is tracked with dvc add and committed.
Prerequisites
- DVC, in a Git repository where
dvc inithas run. Rundvc --versionto check; this guide uses DVC 3.67.1.
Step 1: Check a Project with No Changes
dvc status
Data and pipelines are up to date.

Every tracked file matches its .dvc file.
Step 2: Change the File
Add a line to the price list, then ask DVC and Git what changed:
- bash / zsh
- PowerShell
echo "2026-11-03,banana,0.25" >> data/prices.csv
Add-Content data/prices.csv "2026-11-03,banana,0.25"
dvc status
data/prices.csv.dvc:
changed outs:
modified: data/prices.csv
git status --short

git status --short prints nothing at all. Git doesn't look at data/prices.csv, because dvc add listed it in data/.gitignore, and prices.csv.dvc hasn't changed. dvc status reads the report from the top down:
| Line | What it means |
|---|---|
data/prices.csv.dvc: | The .dvc file with a change |
changed outs: | What changed is one of its outputs, the data it tracks |
modified: data/prices.csv | The file is still there, but its hash no longer matches the .dvc file |
The reference defines modified as "An output or dependency is found in the workspace, but the corresponding file hash in the dvc.lock or .dvc file is not up to date." The two PowerShell lines in this guide were checked in PowerShell 7.6 on macOS, where Add-Content gave a file identical to the one echo made.
Step 3: Get Hints with dvc data status
dvc data status reports the same change in the style of git status, with what you can do next:
dvc data status
DVC uncommitted changes:
(use "dvc commit <file>..." to track changes)
(use "dvc checkout <file>..." to discard changes)
modified: data/prices.csv

The dvc data status reference says it "can be used as a companion to git status". The first hint keeps the change and the second throws it away. Keeping a change makes a new version of the data, which How to Save a New Version of a DVC-Tracked File does with dvc add. A modified file isn't thrown away as easily as the hint suggests: dvc checkout refuses to replace a file whose changes aren't saved, and Fixed: "Can't remove the following unsaved files without confirmation" in dvc checkout shows what to do.
Step 4: Delete the File
- bash / zsh
- PowerShell
rm data/prices.csv
dvc status
Remove-Item data/prices.csv
dvc status
data/prices.csv.dvc:
changed outs:
deleted: data/prices.csv

The reference defines deleted as "The output or dependency is referenced in a dvc.lock or .dvc file, but does not exist in the workspace."
Step 5: Get the File Back with dvc checkout
The file is gone from the project folder, but the version that prices.csv.dvc points to is still in DVC's cache. dvc checkout puts it back:
dvc checkout
Building workspace index |1.00 [00:00, 377entry/s]
Comparing indexes |3.00 [00:00, 3.34kentry/s]
Applying changes |1.00 [00:00, 898file/s]
A data/prices.csv
dvc status
Data and pipelines are up to date.
cat data/prices.csv
date,fruit,price
2026-11-01,apple,0.40
2026-11-02,pear,0.55

A data/prices.csv means the file was added back. It's the committed version, with two prices: the banana line from Step 2 was never saved with dvc add, so it was lost with the file. The dvc checkout reference says: "Missing data files or directories are restored from the cache." The commands are the same in PowerShell.
Check One File
Give dvc status a file or a .dvc file to check only that one:
dvc status data/prices.csv.dvc
Data and pipelines are up to date.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
Checking changes with git status only | Changes to DVC-tracked data don't show | Run dvc status too |
Deleting a changed file before dvc add | dvc checkout brings back only the last saved version | dvc add the file first if you want to keep the change |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
modified: under changed outs: | The file changed since the last dvc add | dvc add to keep it, or dvc checkout --force <file> to throw the change away |
deleted: under changed outs: | The file was deleted or moved | dvc checkout restores it from the cache |
git status shows nothing after a change | Git ignores DVC-tracked files | Use dvc status |
FAQ
What's the difference between dvc status and dvc data status?
dvc data status shows the state "with respect to the last Git commit (HEAD)", grouped like git status, with hints. dvc status compares each .dvc file with its data, and also checks pipelines, which later steps of a DVC project use.
Can dvc status compare with the remote?
Yes: dvc status --cloud compares the cache with the default remote and lists what dvc push would upload. The push guide shows it.
Conclusion
After a change to data/prices.csv, git status showed nothing, while dvc status reported modified under changed outs of data/prices.csv.dvc, and dvc data status added hints. After the file was deleted, dvc status reported deleted, and dvc checkout restored the committed version from the cache.
Additional Resources
- dvc status — every state it can report.
- dvc data status — the
git status-style report. - dvc checkout — restoring files from the cache.
