1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Git

Connected

Exercise

Reverting a commit

You have added one more row of participant data to mental_health_survey.csv. However, you've now realized that you put the data in the wrong order.

In this exercise, you will revert the state of your repo to that of the previous commit.

Instructions

100 XP
  • Revert mental_health_survey.csv to the state in the last commit, using an appropriate flag to avoid opening the text editor.