Staging files

Staging files#

Learning Objectives#

After working through this topic, you should be able to:

  • use git status to find out which files are untracked, modified or unchanged

  • use git add to add files to the staging area

  • explain the benefits of having a staging area

Materials#

For this topic we are building on the excellent YouTube playlist by NetNinja

Notes#

  • You can also use git reset to unstage all staged files

Quiz#