Topic: Git Basics

Stage files – Git

Preview

To stage all of the files in your current directory, enter the following command in your terminal:

git add .

To stage a particular file, enter the following command in your terminal:

git add file-name

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.