By default dvc diff compares workspace to HEAD (or to a single commit if only one arg is provided). This is the one of the most important use cases. I would like to see the "uncommitted" (in a DVC-sense - when we update md5) changes to data files and directories:
git clone https://github.com/iterative/example-get-started
cd example-get-started
dvc pull
rm -f data/data.xml
touch data/features/foo
dvc diff
The last command produces an empty result. Not very informative to compare my "current" experiment with the baseline.
UPDATE:
Another interesting point that dvc status does exactly this - it analyzes actual changes.
By default
dvc diffcompares workspace to HEAD (or to a single commit if only one arg is provided). This is the one of the most important use cases. I would like to see the "uncommitted" (in a DVC-sense - when we update md5) changes to data files and directories:The last command produces an empty result. Not very informative to compare my "current" experiment with the baseline.
UPDATE:
Another interesting point that
dvc statusdoes exactly this - it analyzes actual changes.