git add

Staging changes to be committed

What do we call the area for files that will be part of the next commit?

Add an entire working directory to the staging area:

command line
git add .

Add a single file:

command line
git add somefile.txt

Remove a file from the staging area:

command line
git reset .

Questions? Let's chat

Open Discord