Reputation: 15732
git commit -a -m 'blabla'
I have noticed that -a
switch does sometimes not add all files or folders like it does with
git add . --all
Can anybody confirm this?
Upvotes: 1
Views: 37
Reputation: 15732
git commit -a
ignores files git doesn't already know about, e.g. new files, moved files or directories.
More explanation can be found with
man git-commit
and looking at the -a
and --all
option.
Upvotes: 2