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

Connected

Exercise

Unstaging a file

You've updated report.md and mental_health_survey.csv, adding both files to the staging area.

However, you've realized that there's an incorrect data entry in the CSV file. You want to commit the report, but need to move the data out of the staging area so you can fix the error before saving that file.

Instructions 1/3

undefined XP
  • 1
    • Move into the data directory.
  • 2
    • Move mental_health_survey.csv out of the staging area.
  • 3
    • Make a commit with the log message "Add task to fix plot in report", without opening the text editor.