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

Connected

Exercise

Comparing staged files

You've added two new rows of participant data to the mental_health_survey.csv file. You've now placed the updated file in the staging area.

Before you commit the file, you want to check the difference between the recently modified file and the latest committed version.

You are based in the data directory, where mental_health_survey.csv is located.

Instructions

100 XP
  • Run a command to compare the last committed version of mental_health_survey.csv against the version in the staging area.