Staging all changes to files

suggest change
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.

From the repository root, git add -A (the same command as git add --all) stages new files, modifications, and deletions. In Git 2.0 and later, run from a subdirectory, it only affects that directory.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents