GitCommand
Stage a File
Type this command
git add <file>Stages one file for the next commit.
The Git command to stage a file is git add <file>.
git add <file>git add <file>Stages one file for the next commit.
Run git add <file>.
Run git add <file>.
Type it in the terminal or command-line interface used by Git.
Yes. The command text is the same on both platforms when the tool is installed.