Staging all changes to files
suggest changegit 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents