Git_add

Last tended on 13 August 2019 05:11 PM, about 1 min reading time
This post thumbnail

Reminder about the difference between git add . and git add -A command.

git add .

The above command will stage all new files and the changed ones apart the deleted ones.


git add -A

The above command will stage all new files and the changed one and will delete the deleted files.

On the other hand


git add -u

will track all the already tracked files and stage the changes but will not stage any new files.