Exercise

Undoing all changes

You've been practicing your shell command skills to edit files when you realize you've accidentally been adding content to the wrong files—the report.md file now has participant data in, and you've added some summary statistics into the mental_health_survey.csv file!

You have already added these files to the staging area.

You will need to perform a couple of commands to undo these changes.

Instructions 1/2

undefined XP
  • 1
    • Remove all files from the staging area.
  • 2
    • Undo changes to all unstaged files since the last commit.