While using DVC to define pipelines in a dvc.yaml
file, DVC maintains a dvc.lock
file
to record the state of your pipeline(s) and help track its outputs. As with any .lock
file, it is highly
recommended to commit your dvc.lock
to your project’s Git repository. Learn more about dvc.lock
files
here.
If you’re seeing this in a report, then your project contains a dvc.lock
file, but it has not been added to Git.
To add and commit dvc.lock
to Git, you may use the following commands:
git add dvc.lock
git commit -m 'Adds dvc.lock file'
git push