git add Staging changes to be committed

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access

OR


*Enrollment provides full access to this course (and updates) for life.

Add a 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 .

Q&A Chat