Staging All Changes to Files

Download git eBook


git add -A
git add .

In version 2.x, git add . will stage all changes to files in the current directory and all its subdirectories. However, in 1.x it will only stage new and modified files, not deleted files.

Use git add -A, or its equivalent command git add --all, to stage all changes to files in any version of git.


Contributors: 4
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook