Is git commit -am redundant, if I do git add before?

Viewed 27129

Is it redundant to run git add . and then git commit -am "commit message"?

Can I just run git add . and then git commit -m "commit message" or, alternatively, just git commit -am "commit message"?

5 Answers
Related