LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dvc-diff

show changes in tracked data files

TLDR

Show changes since last commit
$ dvc diff
copy
Compare with specific revision
$ dvc diff [HEAD~1]
copy
Compare two revisions
$ dvc diff [rev1] [rev2]
copy
Show detailed output
$ dvc diff --json
copy
Compare specific target
$ dvc diff [target.dvc]
copy

SYNOPSIS

dvc diff [options] [arev] [brev]

DESCRIPTION

dvc diff compares DVC-tracked data between Git commits to show what data changed, similar to how git diff shows code changes. It reports added, deleted, and modified files by comparing the hashes stored in .dvc metadata files across different commits.This enables data versioning workflows: you can see what datasets changed between experiments, compare model checkpoints across branches, or review data modifications before merging. The output shows file paths and their hash changes, making it clear which data files have new versions.The tool accepts Git revision specifiers (HEAD, branch names, commit hashes) to compare any two points in history. The --json output format is useful for programmatic analysis, while --md generates markdown tables suitable for documentation or pull request descriptions.

PARAMETERS

--json

Output in JSON format.
--show-hash
Show file hashes.
--md
Output in markdown format.

INSTALL

brew install dvc
copy
nix profile install nixpkgs#dvc
copy

SEE ALSO

dvc(1), git-diff(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid