>From git add --help -A, --all Like -u, but match <filepattern> against files in the working tree in addition to the index. That means that it will find new files as well as staging modified content and removing files that are no longer in the working tree.
In other words, "git add ." will only add new files and modified files to the index to be committed. It will not schedule removed files for deletion. If I've done a lot of restructuring, and moved a lot files around, I try to always use add -A so I don't forget committing file deletions. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/7sqlNxZVnG8J. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.