Command

git add -A

Stages additions, modifications and removals in scope; without a pathspec, modern Git considers the entire working tree. Normal ignore rules apply to untracked files.

Formal Syntax & Structure

git syntaxgit
git add -A [-- pathspec]

Working Example

Example Snippetgit
git add -n -A
Git Reference