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

Connected

Exercise

Adding a file to the staging area

The staging area is used by Git to track changes to files within your current directory and sub-directories.

You've created a report.md file for your mental health project. In this exercise, you'll add this file to the staging area.

Instructions

100 XP
  • Place report.md, which is in your current working directory, in the staging area.