Reputation: 28562
Are there some differences between git add .
and git add -A
?
Thanks.
Upvotes: 0
Views: 211
Reputation: 17602
git add
stages all modifications and any new files.
git add -A
stages all modifications and any new files, and will also remove any which are no longer in the working tree. (It also spotted renames when I tried it.)
Upvotes: 3