I take it you are asking about the -a argument for commit.
"git commit --help" says:
Tell the command to automatically stage files that have been
modified and deleted, but new files you have not told git about are not
This is basically the same as first running "git add -u" before a git
commit. From "git add --help":
Only match <filepattern> against already tracked files in the
index rather than the working tree. That means that it will never stage new
files, but that it will stage
modified new contents of tracked files and that it will remove
files from the index if the corresponding files in the working tree have
git commit -a is a very practical shortcut, usually if you've just done a
just few changes in your working tree, and you want to commit them all
without having to "git add" first.
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
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at