git add --all
or git add -A
followed by git commit -m "commit message"
seem to produce a different result from git commit -am "commit message"
when I thought they would produce the same final result.
Am I doing something wrong with git commit -am "commit message"
?
Also is git commit -a -m "commit message"
the same as git commit -am "commit message"
?