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.
This exercise is part of the course
Introduction to Git
Exercise instructions
- Run a command to compare the last committed version of
mental_health_survey.csv
against the version in the staging area.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
