Get startedGet started for free

Checking out Versioned Data

In this editor exercise, you'll practice moving between versions of your datasets by checking out corresponding metadata versions from the Git repository. This exercise builds on the previous one by tracking the initial state of the weather dataset, followed by removing 1000 lines from it and committing it to DVC remote. Your task will be to roll back the Git commit to a previous state, check out the DVC dataset at that corresponding state, and observe the changes.

We've already initialized DVC, configured a local remote at /tmp/dvc, and added a setup commit. Then, we added two more commits marking the dataset tracking and changes.

NOTE: To rollback changes we have committed to git repository by N commits, you can use

git reset --hard HEAD~N

This exercise is part of the course

Introduction to Data Versioning with DVC

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise