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

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"?

38
задан Paŭlo Ebermann 15 August 2011 в 21:27
поделиться