mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-19 18:35:25 +02:00

Thanks @sbrl. Will keep grammatical mistakes to minimum next time :smile Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
24 lines
665 B
Markdown
24 lines
665 B
Markdown
# dvc diff
|
|
|
|
> Show changes in DVC tracked file and directories.
|
|
> More information: <https://dvc.org/doc/command-reference/diff>.
|
|
|
|
- Compare DVC tracked files from different Git commits, tags, and branches w.r.t the current workspace:
|
|
|
|
`dvc diff {{commit_hash/tag/branch}}`
|
|
|
|
- Compare DVC tracked file in Git b_rev w.r.t a_rev:
|
|
|
|
`dvc diff b_rev a_rev`
|
|
|
|
- Compare DVC tracked files, along with their latest hash:
|
|
|
|
`dvc diff --show-hash {{commit}}`
|
|
|
|
- Compare DVC tracked files, displaying the output as JSON:
|
|
|
|
`dvc diff --show-json --show-hash {{commit}}`
|
|
|
|
- Compare DVC tracked files, displaying the output as Markdown:
|
|
|
|
`dvc diff --show-md --show-hash {{commit}}`
|